summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbrian <brian@cvs.openbsd.org>1997-12-24 09:29:11 +0000
committerbrian <brian@cvs.openbsd.org>1997-12-24 09:29:11 +0000
commitee509eb41ffd3386cd990df961c005dd18d3d418 (patch)
tree62b82835943311b97ba897d287097b5e9e266e50
parenta77cb781ac1626d935b024132b595ee8782fccbb (diff)
Use sizeof cftypes128 for NCFTYPES128 macro, not sizeof cftypes !
Lucky that sizeof cftypes < sizeof cftypes128
-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 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;