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-ipv6.c | |
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-ipv6.c')
-rw-r--r-- | packet-ipv6.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/packet-ipv6.c b/packet-ipv6.c index df1ee69bc2..6f5cd881b9 100644 --- a/packet-ipv6.c +++ b/packet-ipv6.c @@ -1,7 +1,7 @@ /* packet-ipv6.c * Routines for IPv6 packet disassembly * - * $Id: packet-ipv6.c,v 1.38 2000/05/31 05:07:09 guy Exp $ + * $Id: packet-ipv6.c,v 1.39 2000/06/05 03:21:03 gram Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@zing.org> @@ -351,7 +351,7 @@ again: offset += advance; goto again; case IP_PROTO_AH: - advance = dissect_ah(pd, offset, fd, tree); + advance = dissect_ah_old(pd, offset, fd, tree); nxt = pd[poffset = offset]; offset += advance; goto again; |