diff options
author | brian <brian@FreeBSD.org> | 1998-06-15 19:06:25 +0000 |
---|---|---|
committer | brian <brian@FreeBSD.org> | 1998-06-15 19:06:25 +0000 |
commit | 13defc3317e75eb1c300da13d71fcfca0afa9fea (patch) | |
tree | b381951b12d7887e75222845d5020654bac355ca /usr.sbin/ppp/lcp.c | |
parent | 3f8652a3018ca60b9dd6e6cabb477c7abf044e98 (diff) | |
download | FreeBSD-src-13defc3317e75eb1c300da13d71fcfca0afa9fea.zip FreeBSD-src-13defc3317e75eb1c300da13d71fcfca0afa9fea.tar.gz |
Fix a rather nasty use of `static'. This caused a SEGV
when running ``link * load label'' as we ended up recursing
back into command_Interpret after nuking our command arg list.
Diffstat (limited to 'usr.sbin/ppp/lcp.c')
-rw-r--r-- | usr.sbin/ppp/lcp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/ppp/lcp.c b/usr.sbin/ppp/lcp.c index 6e28dfc..ddddfb9 100644 --- a/usr.sbin/ppp/lcp.c +++ b/usr.sbin/ppp/lcp.c @@ -17,7 +17,7 @@ * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. * - * $Id: lcp.c,v 1.57 1998/05/21 21:46:00 brian Exp $ + * $Id: lcp.c,v 1.58 1998/05/29 18:32:40 brian Exp $ * * TODO: * o Limit data field length by MRU @@ -35,10 +35,10 @@ #include <termios.h> #include <unistd.h> +#include "defs.h" #include "command.h" #include "mbuf.h" #include "log.h" -#include "defs.h" #include "timer.h" #include "fsm.h" #include "iplist.h" |