diff options
author | Guy Harris <guy@alum.mit.edu> | 2001-12-19 21:14:49 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2001-12-19 21:14:49 +0000 |
commit | 3624071a7987d35d2fc80e8b56122df0b913574e (patch) | |
tree | f0190badc5de82e19f5f2cc644d1709724806240 /packet-ppp.c | |
parent | b2e832d9cacca07096a6c8f00d6667373a7bdf49 (diff) |
Van Jacobson decompression support for PPP, from Irfan Khan.
svn path=/trunk/; revision=4427
Diffstat (limited to 'packet-ppp.c')
-rw-r--r-- | packet-ppp.c | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/packet-ppp.c b/packet-ppp.c index 3a21f0fe11..396deeab57 100644 --- a/packet-ppp.c +++ b/packet-ppp.c @@ -1,7 +1,7 @@ /* packet-ppp.c * Routines for ppp packet disassembly * - * $Id: packet-ppp.c,v 1.81 2001/12/10 00:25:32 guy Exp $ + * $Id: packet-ppp.c,v 1.82 2001/12/19 21:14:49 guy Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@ethereal.com> @@ -139,6 +139,7 @@ static gint ppp_fcs_decode = 0; /* 0 = No FCS, 1 = 16 bit FCS, 2 = 32 bit FCS */ #define NO_FCS 0 #define FCS_16 1 #define FCS_32 2 +gboolean ppp_vj_decomp = TRUE; /* Default to VJ header decompression */ /* PPP definitions */ @@ -2589,10 +2590,15 @@ proto_register_ppp(void) prefs_register_enum_preference(ppp_module, "ppp_fcs", - "PPP Frame Checksum", - "PPP Frame Checksum", + "PPP Frame Checksum Type", + "The type of PPP frame checksum (none, 16-bit, 32-bit)", &ppp_fcs_decode, ppp_options, FALSE); + prefs_register_bool_preference(ppp_module, + "ppp_vj", + "PPP Van Jacobson Compression", + "Whether Van Jacobson-compressed PPP frames should be decompressed", + &ppp_vj_decomp); } void |