summaryrefslogtreecommitdiffstats
path: root/sbin/spppcontrol/spppcontrol.c
diff options
context:
space:
mode:
authorgj <gj@FreeBSD.org>1999-02-28 22:19:47 +0000
committergj <gj@FreeBSD.org>1999-02-28 22:19:47 +0000
commitf1c9af5ab191bce2a501caf214f8f1d0aef066fb (patch)
treeaf9ca0a81c73f2e73a228faa22f2858ea8768201 /sbin/spppcontrol/spppcontrol.c
parentf0b212c581f4f987035c5a091a20eadf8b598b43 (diff)
downloadFreeBSD-src-f1c9af5ab191bce2a501caf214f8f1d0aef066fb.zip
FreeBSD-src-f1c9af5ab191bce2a501caf214f8f1d0aef066fb.tar.gz
Make buf in authflags a little bigger because 2 strings can be
concatenated and 20 bytes (the old size) is kind of tight.
Diffstat (limited to 'sbin/spppcontrol/spppcontrol.c')
-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 35c5bc1..e6fae76 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.4 1998/08/03 06:24:59 charnier Exp $";
+ "$Id: spppcontrol.c,v 1.5 1999/02/23 21:47:05 gj 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[20];
+ static char buf[30];
buf[0] = '\0';
if (flags & AUTHFLAG_NOCALLOUT)
strcat(buf, " callin");
OpenPOWER on IntegriCloud