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
This commit is contained in:
Gary Jennejohn 1999-02-23 21:47:05 +00:00
parent 189da04438
commit 559fa26574
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=44242

View File

@ -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");