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-raw.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-raw.c')
-rw-r--r-- | packet-raw.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/packet-raw.c b/packet-raw.c index 448d54203d..9507f7ca4d 100644 --- a/packet-raw.c +++ b/packet-raw.c @@ -1,7 +1,7 @@ /* packet-raw.c * Routines for raw packet disassembly * - * $Id: packet-raw.c,v 1.35 2002/08/28 21:00:29 jmayer Exp $ + * $Id: packet-raw.c,v 1.36 2003/08/26 05:52:52 guy Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@ethereal.com> @@ -31,6 +31,7 @@ #include <string.h> #include <glib.h> #include <epan/packet.h> +#include "prefs.h" #include "packet-raw.h" #include "packet-ip.h" #include "packet-ppp.h" |