diff options
author | brian <brian@FreeBSD.org> | 1997-12-06 22:43:58 +0000 |
---|---|---|
committer | brian <brian@FreeBSD.org> | 1997-12-06 22:43:58 +0000 |
commit | 1cdac2c8eb88cd6b422e69c4ab601b6bf4dc7263 (patch) | |
tree | 38b989c48f6b61fbcc315422ae9682509c8ca869 /usr.sbin/ppp/ipcp.c | |
parent | b62e86b3831919a70572235013010746e9b442fa (diff) | |
download | FreeBSD-src-1cdac2c8eb88cd6b422e69c4ab601b6bf4dc7263.zip FreeBSD-src-1cdac2c8eb88cd6b422e69c4ab601b6bf4dc7263.tar.gz |
Correct cftypes128 index.
Diffstat (limited to 'usr.sbin/ppp/ipcp.c')
-rw-r--r-- | usr.sbin/ppp/ipcp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/ppp/ipcp.c b/usr.sbin/ppp/ipcp.c index c91671d..dc91900 100644 --- a/usr.sbin/ppp/ipcp.c +++ b/usr.sbin/ppp/ipcp.c @@ -17,7 +17,7 @@ * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. * - * $Id: ipcp.c,v 1.39 1997/12/03 10:23:48 brian Exp $ + * $Id: ipcp.c,v 1.40 1997/12/04 18:49:35 brian Exp $ * * TODO: * o More RFC1772 backwoard compatibility @@ -364,7 +364,7 @@ IpcpDecodeConfig(u_char * cp, int plen, int mode_type) if (type < NCFTYPES) snprintf(tbuff, sizeof(tbuff), " %s[%d] ", cftypes[type], length); else if (type > 128 && type < 128 + NCFTYPES128) - snprintf(tbuff, sizeof(tbuff), " %s[%d] ", cftypes128[type], length); + snprintf(tbuff, sizeof(tbuff), " %s[%d] ", cftypes128[type-128], length); else snprintf(tbuff, sizeof(tbuff), " ??? "); |