summaryrefslogtreecommitdiffstats
path: root/usr.sbin/ppp/nat_cmd.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/nat_cmd.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/nat_cmd.c')
-rw-r--r--usr.sbin/ppp/nat_cmd.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.sbin/ppp/nat_cmd.c b/usr.sbin/ppp/nat_cmd.c
index c4265fd..eb9d15f 100644
--- a/usr.sbin/ppp/nat_cmd.c
+++ b/usr.sbin/ppp/nat_cmd.c
@@ -2,7 +2,7 @@
* The code in this file was written by Eivind Eklund <perhaps@yes.no>,
* who places it in the public domain without restriction.
*
- * $Id: alias_cmd.c,v 1.12.2.8 1998/05/01 19:23:43 brian Exp $
+ * $Id: alias_cmd.c,v 1.13 1998/05/21 21:43:42 brian Exp $
*/
#include <sys/types.h>
@@ -15,6 +15,7 @@
#include <string.h>
#include <termios.h>
+#include "defs.h"
#include "command.h"
#include "log.h"
#include "loadalias.h"
OpenPOWER on IntegriCloud