summaryrefslogtreecommitdiffstats
path: root/usr.sbin
diff options
context:
space:
mode:
authorbrian <brian@FreeBSD.org>2001-12-09 01:29:12 +0000
committerbrian <brian@FreeBSD.org>2001-12-09 01:29:12 +0000
commit2d4ab797edceb2f8ae654e137e3d0b2f1f94f8b3 (patch)
tree5377a16c91f76d7cd827d68471e9f896f36e6c64 /usr.sbin
parent6dec2d1dfe0e71a2ff4ff83cf9a97889348600ee (diff)
downloadFreeBSD-src-2d4ab797edceb2f8ae654e137e3d0b2f1f94f8b3.zip
FreeBSD-src-2d4ab797edceb2f8ae654e137e3d0b2f1f94f8b3.tar.gz
Consider PROTO_IPV6 as compressible by CCP.
Spotted by: Nick Sayer <nsayer@quack.kfu.com>
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/ppp/proto.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/ppp/proto.h b/usr.sbin/ppp/proto.h
index 8380dff..8c93327 100644
--- a/usr.sbin/ppp/proto.h
+++ b/usr.sbin/ppp/proto.h
@@ -41,7 +41,7 @@
#define PROTO_ICOMPD 0x00fb /* Individual link compressed */
#define PROTO_COMPD 0x00fd /* Compressed datagram */
-#define PROTO_COMPRESSIBLE(p) (((p) & 0xffe1) == 0x21)
+#define PROTO_COMPRESSIBLE(p) (((p) & 0xff81) == 0x01)
#define PROTO_IPCP 0x8021
#ifndef NOINET6
OpenPOWER on IntegriCloud