diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2007-11-01 02:47:21 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2007-11-01 02:47:21 +0000 |
commit | f89ade9afab0c59352b9519d8296ee1fdf0e9fd2 (patch) | |
tree | 60f5e720f26b6937fc4ed671b5bd90fc9fc4e7f4 /sys/net/if_spppsubr.c | |
parent | ba8e075ad05d2bd70ac29e4929e7ea8bbd09c999 (diff) |
tsk tsk tsk, noone tested this; spotted by canacar
Diffstat (limited to 'sys/net/if_spppsubr.c')
-rw-r--r-- | sys/net/if_spppsubr.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/net/if_spppsubr.c b/sys/net/if_spppsubr.c index 2cb83fb3d2f..3428790e553 100644 --- a/sys/net/if_spppsubr.c +++ b/sys/net/if_spppsubr.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_spppsubr.c,v 1.59 2007/10/31 21:13:45 mikeb Exp $ */ +/* $OpenBSD: if_spppsubr.c,v 1.60 2007/11/01 02:47:20 deraadt Exp $ */ /* * Synchronous PPP/Cisco link level subroutines. * Keepalive protocol implemented in both Cisco and PPP modes. @@ -4858,6 +4858,7 @@ HIDE int sppp_params(struct sppp *sp, u_long cmd, void *data) { struct ifreq *ifr = (struct ifreq *)data; + extern struct proc *curproc; struct spppreq spr; if (copyin((caddr_t)ifr->ifr_data, &spr, sizeof spr) != 0) |