summaryrefslogtreecommitdiffstats
path: root/usr.sbin/ppp/hdlc.c
diff options
context:
space:
mode:
authorbrian <brian@FreeBSD.org>1998-06-15 19:06:25 +0000
committerbrian <brian@FreeBSD.org>1998-06-15 19:06:25 +0000
commit13defc3317e75eb1c300da13d71fcfca0afa9fea (patch)
treeb381951b12d7887e75222845d5020654bac355ca /usr.sbin/ppp/hdlc.c
parent3f8652a3018ca60b9dd6e6cabb477c7abf044e98 (diff)
downloadFreeBSD-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/hdlc.c')
-rw-r--r--usr.sbin/ppp/hdlc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/ppp/hdlc.c b/usr.sbin/ppp/hdlc.c
index a6f1c25..efdbfc6 100644
--- a/usr.sbin/ppp/hdlc.c
+++ b/usr.sbin/ppp/hdlc.c
@@ -17,7 +17,7 @@
* IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
* WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
*
- * $Id: hdlc.c,v 1.28.2.37 1998/05/21 01:26:07 brian Exp $
+ * $Id: hdlc.c,v 1.31 1998/05/21 21:45:28 brian Exp $
*
* TODO:
*/
@@ -31,10 +31,10 @@
#include <string.h>
#include <termios.h>
+#include "defs.h"
#include "command.h"
#include "mbuf.h"
#include "log.h"
-#include "defs.h"
#include "timer.h"
#include "fsm.h"
#include "lqr.h"
OpenPOWER on IntegriCloud