]> git.ozlabs.org Git - ppp.git/blobdiff - freebsd-2.0/bsd-comp.c
updated cpp defines
[ppp.git] / freebsd-2.0 / bsd-comp.c
index e34c32a2aa006e00ac5b59f333592fda8fb2634e..d128e0c0e2d8e6dd90db7d1cadbd289e88a94908 100644 (file)
@@ -40,7 +40,7 @@
 /*
  * This version is for use with mbufs on BSD-derived systems.
  *
- * $Id: bsd-comp.c,v 1.1 1995/10/27 03:35:14 paulus Exp $
+ * $Id: bsd-comp.c,v 1.2 1996/01/18 03:12:35 paulus Exp $
  */
 
 #include <sys/param.h>
@@ -406,7 +406,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