diff options
author | Gilbert Ramirez <gram@alumni.rice.edu> | 2000-06-05 03:21:03 +0000 |
---|---|---|
committer | Gilbert Ramirez <gram@alumni.rice.edu> | 2000-06-05 03:21:03 +0000 |
commit | 8c27c3d37ba4be0f166c17be1ed60a6076703902 (patch) | |
tree | 5287ca571353212797cb8bb48e50adb10dd89246 /packet-ipsec.h | |
parent | 78cd3a9a26184ffcacbc01206331c3622af891e8 (diff) | |
download | wireshark-8c27c3d37ba4be0f166c17be1ed60a6076703902.tar.gz wireshark-8c27c3d37ba4be0f166c17be1ed60a6076703902.tar.bz2 wireshark-8c27c3d37ba4be0f166c17be1ed60a6076703902.zip |
Change dissect_ah() so that dissect_ip() doesn't have to make a
special case for it. dissect_ah() is registered with the "ip.proto"
handoff table, and dissect_ah() calls the next dissector using this
same "ip.proto" handoff table.
The old dissect_ah() is kept as dissect_ah_old() since dissect_ipv6()
still uses it. I need to convert some more functions before I can
get rid of dissect_ah_old().
svn path=/trunk/; revision=2039
Diffstat (limited to 'packet-ipsec.h')
-rw-r--r-- | packet-ipsec.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/packet-ipsec.h b/packet-ipsec.h index 38bea778b8..64b7f5a4fa 100644 --- a/packet-ipsec.h +++ b/packet-ipsec.h @@ -1,6 +1,6 @@ /* packet-ipsec.h * - * $Id: packet-ipsec.h,v 1.2 2000/04/20 07:05:55 guy Exp $ + * $Id: packet-ipsec.h,v 1.3 2000/06/05 03:21:02 gram Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@zing.org> @@ -23,4 +23,5 @@ */ -int dissect_ah(const u_char *, int, frame_data *, proto_tree *); +int dissect_ah_old(const u_char *, int, frame_data *, proto_tree *); +void dissect_ah(const u_char *, int, frame_data *, proto_tree *); |