From 24eebb97369b85963c5533613e11efd69da38baa Mon Sep 17 00:00:00 2001 From: gj Date: Tue, 23 Feb 1999 21:47:05 +0000 Subject: 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 --- sbin/spppcontrol/spppcontrol.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sbin/spppcontrol') 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 @@ -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"); -- cgit v1.1