From ee509eb41ffd3386cd990df961c005dd18d3d418 Mon Sep 17 00:00:00 2001 From: brian Date: Wed, 24 Dec 1997 09:29: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 e436efc436b..88e0d6ca00a 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.6 1997/12/19 04:50:38 brian Exp $ + * $Id: ipcp.c,v 1.7 1997/12/24 09:29:10 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.2.3