]> git.ozlabs.org Git - ppp.git/commitdiff
fix BSD_{MIN,MAX}_BITS -> BSD_{MIN,MAX}_BITS
authorPaul Mackerras <paulus@samba.org>
Wed, 26 Apr 1995 06:47:24 +0000 (06:47 +0000)
committerPaul Mackerras <paulus@samba.org>
Wed, 26 Apr 1995 06:47:24 +0000 (06:47 +0000)
pppd/ccp.c

index 90a7ff190156c72bbf68d536b0c94944c00096f9..e695fe9cc013bff7415923f69bd3633533c22f71 100644 (file)
@@ -26,7 +26,7 @@
  */
 
 #ifndef lint
-static char rcsid[] = "$Id: ccp.c,v 1.7 1995/04/24 06:01:18 paulus Exp $";
+static char rcsid[] = "$Id: ccp.c,v 1.8 1995/04/26 06:47:24 paulus Exp $";
 #endif
 
 #include <syslog.h>
@@ -112,7 +112,7 @@ ccp_init(unit)
     ccp_wantoptions[0].bsd_bits = 12;  /* default value */
 
     ccp_allowoptions[0].bsd_compress = 1;
-    ccp_allowoptions[0].bsd_bits = MAX_BSD_BITS;
+    ccp_allowoptions[0].bsd_bits = BSD_MAX_BITS;
 }
 
 /*
@@ -432,10 +432,10 @@ ccp_reqci(f, p, lenp, dont_nak)
                    || nb > ao->bsd_bits) {
                    newret = CONFNAK;
                    nb = ao->bsd_bits;
-               } else if (nb < MIN_BSD_BITS) {
+               } else if (nb < BSD_MIN_BITS) {
                    newret = CONFREJ;
                } else if (!ccp_test(f->unit, p, CILEN_BSD_COMPRESS, 1)) {
-                   if (nb > MIN_BSD_BITS) {
+                   if (nb > BSD_MIN_BITS) {
                        --nb;
                        newret = CONFNAK;
                    } else