]> git.ozlabs.org Git - ppp.git/blobdiff - NeXT/bsd-comp.c
Allow other CCP options to follow
[ppp.git] / NeXT / bsd-comp.c
index 0e3dd41f55c2be4344b6822844961c15de6e2d73..1124855d6fee8dc692873c0b39eaa13e25a7ddac 100644 (file)
@@ -49,7 +49,7 @@
 /*
  * This version is for use with mbufs on BSD-derived systems.
  *
- * $Id: bsd-comp.c,v 1.1 1995/12/18 03:30:00 paulus Exp $
+ * $Id: bsd-comp.c,v 1.2 1996/01/18 03:12:26 paulus Exp $
  */
 
 #include <sys/param.h>
@@ -459,7 +459,7 @@ bsd_init(db, options, opt_len, unit, hdrlen, mru, debug, decomp)
 {
     int i;
 
-    if (opt_len != CILEN_BSD_COMPRESS || options[0] != CI_BSD_COMPRESS
+    if (opt_len < CILEN_BSD_COMPRESS || options[0] != CI_BSD_COMPRESS
        || options[1] != CILEN_BSD_COMPRESS
        || BSD_VERSION(options[2]) != BSD_CURRENT_VERSION
        || BSD_NBITS(options[2]) != db->maxbits