From e2cdbfbbb2fff725814c29bd10d948ba15f8240e Mon Sep 17 00:00:00 2001 From: brian Date: Wed, 24 Dec 1997 09:28:11 +0000 Subject: Use sizeof cftypes128 for NCFTYPES128 macro, not sizeof cftypes ! Lucky that sizeof cftypes < sizeof cftypes128 --- 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 eedef01..00680a4 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.42 1997/12/13 02:37:24 brian Exp $ + * $Id: ipcp.c,v 1.43 1997/12/19 04:49:53 brian Exp $ * * TODO: * o More RFC1772 backwoard compatibility @@ -121,7 +121,7 @@ static const char *cftypes128[] = { "SECNBNS", /* 132: Secondary NBNS Server Address */ }; -#define NCFTYPES128 (sizeof(cftypes)/sizeof(char *)) +#define NCFTYPES128 (sizeof(cftypes128)/sizeof(char *)) struct pppThroughput throughput; -- cgit v1.1