aboutsummaryrefslogtreecommitdiffstats
path: root/sbin/spppcontrol
diff options
context:
space:
mode:
authorGary Jennejohn <gj@FreeBSD.org>1999-02-28 22:19:47 +0000
committerGary Jennejohn <gj@FreeBSD.org>1999-02-28 22:19:47 +0000
commitf439d9fab7317d3338cdfad73317208227e86cc2 (patch)
treed83919d45ddc381c9211a355c21c9d9b8bc83173 /sbin/spppcontrol
parent0ee81fe5f5097dc9aaa55068921c5d9e246aa44a (diff)
downloadsrc-f439d9fab7317d3338cdfad73317208227e86cc2.tar.gz
src-f439d9fab7317d3338cdfad73317208227e86cc2.zip
Make buf in authflags a little bigger because 2 strings can be
concatenated and 20 bytes (the old size) is kind of tight.
Notes
Notes: svn path=/head/; revision=44345
Diffstat (limited to 'sbin/spppcontrol')
-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 35c5bc144a97..e6fae7654814 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");