From 1cdac2c8eb88cd6b422e69c4ab601b6bf4dc7263 Mon Sep 17 00:00:00 2001 From: brian Date: Sat, 6 Dec 1997 22:43:58 +0000 Subject: Correct cftypes128 index. --- usr.sbin/ppp/ipcp.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'usr.sbin/ppp') 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), " ??? "); -- cgit v1.1