diff options
author | brian <brian@FreeBSD.org> | 1997-12-24 09:28:11 +0000 |
---|---|---|
committer | brian <brian@FreeBSD.org> | 1997-12-24 09:28:11 +0000 |
commit | e2cdbfbbb2fff725814c29bd10d948ba15f8240e (patch) | |
tree | 141862cd75ab308f8ac1a75ffb9d93626f7a7333 | |
parent | f886ffb27eb28dc38eac6fba1394721e2beccdfb (diff) | |
download | FreeBSD-src-e2cdbfbbb2fff725814c29bd10d948ba15f8240e.zip FreeBSD-src-e2cdbfbbb2fff725814c29bd10d948ba15f8240e.tar.gz |
Use sizeof cftypes128 for NCFTYPES128 macro, not sizeof cftypes !
Lucky that sizeof cftypes < sizeof cftypes128
-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 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; |