summaryrefslogtreecommitdiffstats
path: root/usr.sbin/ppp
diff options
context:
space:
mode:
authorbrian <brian@FreeBSD.org>1997-12-24 09:28:11 +0000
committerbrian <brian@FreeBSD.org>1997-12-24 09:28:11 +0000
commite2cdbfbbb2fff725814c29bd10d948ba15f8240e (patch)
tree141862cd75ab308f8ac1a75ffb9d93626f7a7333 /usr.sbin/ppp
parentf886ffb27eb28dc38eac6fba1394721e2beccdfb (diff)
downloadFreeBSD-src-e2cdbfbbb2fff725814c29bd10d948ba15f8240e.zip
FreeBSD-src-e2cdbfbbb2fff725814c29bd10d948ba15f8240e.tar.gz
Use sizeof cftypes128 for NCFTYPES128 macro, not sizeof cftypes !
Lucky that sizeof cftypes < sizeof cftypes128
Diffstat (limited to 'usr.sbin/ppp')
-rw-r--r--usr.sbin/ppp/ipcp.c4
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;
OpenPOWER on IntegriCloud