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-gtp.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-gtp.c')
-rw-r--r-- | packet-gtp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/packet-gtp.c b/packet-gtp.c index 6125a72de9..9528e480f7 100644 --- a/packet-gtp.c +++ b/packet-gtp.c @@ -4,7 +4,7 @@ * Copyright 2001, Michal Melerowicz <michal.melerowicz@nokia.com> * Nicolas Balkota <balkota@mac.com> * - * $Id: packet-gtp.c,v 1.55 2003/07/09 07:12:23 guy Exp $ + * $Id: packet-gtp.c,v 1.56 2003/08/26 05:52:45 guy Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@ethereal.com> @@ -36,10 +36,10 @@ #include <glib.h> #include <epan/packet.h> +#include "prefs.h" #include "packet-gtp.h" #include "packet-ipv6.h" #include "packet-ppp.h" -#include "prefs.h" static dissector_table_t ppp_subdissector_table; |