summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorgj <gj@FreeBSD.org>1999-02-23 21:47:05 +0000
committergj <gj@FreeBSD.org>1999-02-23 21:47:05 +0000
commit24eebb97369b85963c5533613e11efd69da38baa (patch)
treed4a6f19f319580a39f8b9eda80fbe41156eba4d8
parent9c3b9cf06267a1de1f9a650cdd4b5886f727ac82 (diff)
downloadFreeBSD-src-24eebb97369b85963c5533613e11efd69da38baa.zip
FreeBSD-src-24eebb97369b85963c5533613e11efd69da38baa.tar.gz
Make the buf in authflags big enough to hold " norechallenge". I've been
running with this for a few weeks. Submitted by: someone on the freebsd-isdn maillist
-rw-r--r--sbin/spppcontrol/spppcontrol.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sbin/spppcontrol/spppcontrol.c b/sbin/spppcontrol/spppcontrol.c
index 94a2af5..35c5bc1 100644
--- a/sbin/spppcontrol/spppcontrol.c
+++ b/sbin/spppcontrol/spppcontrol.c
@@ -26,7 +26,7 @@
#ifndef lint
static const char rcsid[] =
- "$Id: spppcontrol.c,v 1.3 1998/01/07 07:55:26 charnier Exp $";
+ "$Id: spppcontrol.c,v 1.4 1998/08/03 06:24:59 charnier Exp $";
#endif /* not lint */
#include <sys/param.h>
@@ -231,7 +231,7 @@ proto_name(u_short proto)
const char *
authflags(u_short flags)
{
- static char buf[10];
+ static char buf[20];
buf[0] = '\0';
if (flags & AUTHFLAG_NOCALLOUT)
strcat(buf, " callin");
OpenPOWER on IntegriCloud