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/alias_cmd.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/alias_cmd.c')
-rw-r--r-- | usr.sbin/ppp/alias_cmd.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.sbin/ppp/alias_cmd.c b/usr.sbin/ppp/alias_cmd.c index c4265fd..eb9d15f 100644 --- a/usr.sbin/ppp/alias_cmd.c +++ b/usr.sbin/ppp/alias_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" |