summaryrefslogtreecommitdiff
path: root/sys/net
diff options
context:
space:
mode:
authorMartin Pieuchot <mpi@cvs.openbsd.org>2013-07-15 13:30:38 +0000
committerMartin Pieuchot <mpi@cvs.openbsd.org>2013-07-15 13:30:38 +0000
commitdec9492b2208a8ff62d3e004111f47e29f931f36 (patch)
tree08f698240745824b631e77f60711c25b8197be5c /sys/net
parent3b93500f40defe80e8471246a98b31b5755c386e (diff)
Remove a comment which is no longer true.
Diffstat (limited to 'sys/net')
-rw-r--r--sys/net/if_spppsubr.c11
1 files changed, 1 insertions, 10 deletions
diff --git a/sys/net/if_spppsubr.c b/sys/net/if_spppsubr.c
index 0ecc75989fb..b31cfcc815c 100644
--- a/sys/net/if_spppsubr.c
+++ b/sys/net/if_spppsubr.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_spppsubr.c,v 1.105 2013/07/10 07:46:10 mpi Exp $ */
+/* $OpenBSD: if_spppsubr.c,v 1.106 2013/07/15 13:30:37 mpi Exp $ */
/*
* Synchronous PPP/Cisco link level subroutines.
* Keepalive protocol implemented in both Cisco and PPP modes.
@@ -4956,15 +4956,6 @@ sppp_get_params(struct sppp *sp, struct ifreq *ifr)
struct spppreq *spr;
spr = malloc(sizeof(*spr), M_DEVBUF, M_WAITOK);
-
- /*
- * We copy over the entire current state, but clean
- * out some of the stuff we don't wanna pass up.
- * Remember, SIOCGIFGENERIC is unprotected, and can be
- * called by any user. No need to ever get PAP or
- * CHAP secrets back to userland anyway.
- */
-
spr->cmd = cmd;
spr->phase = sp->pp_phase;