diff options
author | Guy Harris <guy@alum.mit.edu> | 2003-08-26 05:52:53 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2003-08-26 05:52:53 +0000 |
commit | f7e30628672367a757016ef3b2bfd604bbc93c1b (patch) | |
tree | 733504afac6821618f370545b556d2541c2176b9 /packet-vj.c | |
parent | 42fdef2ff460e460016b841b640f47bee0bb8f21 (diff) | |
download | wireshark-f7e30628672367a757016ef3b2bfd604bbc93c1b.tar.gz wireshark-f7e30628672367a757016ef3b2bfd604bbc93c1b.tar.bz2 wireshark-f7e30628672367a757016ef3b2bfd604bbc93c1b.zip |
From Jesper Peterson:
Extract the FCS decoding section of the PPP_HDLC dissector to
allow the CHDLC dissector to use the same routine.
The ppp_options used for preferences has been renamed to
fcs_options and exported via packet-ppp.h so CHDLC gets a
separate (but identical) FCS preference.
This means prefs.h has to be included before packet-ppp.h so a
couple of ppp related files (packet-{gtp,null,raw,vj}.c) had
their includes slightly re-arranged.
From me: make the PPP/CHDLC FCS code use "crc32()" to check the 32-bit
FCS.
svn path=/trunk/; revision=8266
Diffstat (limited to 'packet-vj.c')
-rw-r--r-- | packet-vj.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/packet-vj.c b/packet-vj.c index aa540ff3af..ccdedea1f9 100644 --- a/packet-vj.c +++ b/packet-vj.c @@ -1,7 +1,7 @@ /* packet-vj.c * Routines for Van Jacobson header decompression. * - * $Id: packet-vj.c,v 1.16 2002/08/28 21:00:36 jmayer Exp $ + * $Id: packet-vj.c,v 1.17 2003/08/26 05:52:53 guy Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@ethereal.com> @@ -66,6 +66,7 @@ #include <glib.h> #include <string.h> #include <epan/packet.h> +#include "prefs.h" #include "packet-ppp.h" #include "ppptypes.h" #include "ipproto.h" |