]> git.ozlabs.org Git - ppp.git/blobdiff - netbsd-1.2/if_ppp.c
support old draft rfc deflate number
[ppp.git] / netbsd-1.2 / if_ppp.c
index 722d2457953f50349cb5b72bcc5174985b5a105e..84d94c01c90968560592f1d2f52f493231fc0b99 100644 (file)
@@ -161,7 +161,7 @@ static void pppdumpm __P((struct mbuf *m0));
  */
 
 extern struct compressor ppp_bsd_compress;
  */
 
 extern struct compressor ppp_bsd_compress;
-extern struct compressor ppp_deflate;
+extern struct compressor ppp_deflate, ppp_deflate_draft;
 
 struct compressor *ppp_compressors[8] = {
 #if DO_BSD_COMPRESS && defined(PPP_BSDCOMP)
 
 struct compressor *ppp_compressors[8] = {
 #if DO_BSD_COMPRESS && defined(PPP_BSDCOMP)
@@ -169,6 +169,7 @@ struct compressor *ppp_compressors[8] = {
 #endif
 #if DO_DEFLATE && defined(PPP_DEFLATE)
     &ppp_deflate,
 #endif
 #if DO_DEFLATE && defined(PPP_DEFLATE)
     &ppp_deflate,
+    &ppp_deflate_draft,
 #endif
     NULL
 };
 #endif
     NULL
 };