aboutsummaryrefslogtreecommitdiff
path: root/sbin/spppcontrol
diff options
context:
space:
mode:
authorGary Jennejohn <gj@FreeBSD.org>1999-02-23 21:47:05 +0000
committerGary Jennejohn <gj@FreeBSD.org>1999-02-23 21:47:05 +0000
commit559fa265749ed03aef966eec780d60114f5c3aff (patch)
treeddfc99cbb05dc49ffc5a4420e50c19e17fc3f982 /sbin/spppcontrol
parent189da04438b6d5f3694b308f39e47576a64ecce9 (diff)
downloadsrc-559fa265749ed03aef966eec780d60114f5c3aff.tar.gz
src-559fa265749ed03aef966eec780d60114f5c3aff.zip
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
Notes
Notes: svn path=/head/; revision=44242
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 94a2af5fc3c9..35c5bc144a97 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");