diff options
author | Ed Warnicke <hagbard@physics.rutgers.edu> | 2001-11-25 22:51:14 +0000 |
---|---|---|
committer | Ed Warnicke <hagbard@physics.rutgers.edu> | 2001-11-25 22:51:14 +0000 |
commit | 34dbc86e65d64bf747d948051ba8d4d3e967d6d1 (patch) | |
tree | 20244c5cfd8f43e50e4dccd78b8a9ce386894d49 /packet-isl.c | |
parent | a810a01338337a3802ff19ef9d952999181458c3 (diff) | |
download | wireshark-34dbc86e65d64bf747d948051ba8d4d3e967d6d1.tar.gz wireshark-34dbc86e65d64bf747d948051ba8d4d3e967d6d1.tar.bz2 wireshark-34dbc86e65d64bf747d948051ba8d4d3e967d6d1.zip |
Moved from using dissect_data to using call_dissector()
svn path=/trunk/; revision=4264
Diffstat (limited to 'packet-isl.c')
-rw-r--r-- | packet-isl.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/packet-isl.c b/packet-isl.c index 71ea4c8067..1258968b06 100644 --- a/packet-isl.c +++ b/packet-isl.c @@ -1,7 +1,7 @@ /* packet-isl.c * Routines for Cisco ISL Ethernet header disassembly * - * $Id: packet-isl.c,v 1.27 2001/11/20 22:29:04 guy Exp $ + * $Id: packet-isl.c,v 1.28 2001/11/25 22:51:13 hagbard Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@ethereal.com> @@ -83,6 +83,7 @@ static gint ett_isl = -1; static dissector_handle_t eth_handle; static dissector_handle_t tr_handle; +static dissector_handle_t data_handle; void capture_isl(const u_char *pd, int offset, int len, packet_counts *ld) @@ -259,7 +260,7 @@ dissect_isl(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) default: next_tvb = tvb_new_subset(tvb, ISL_HEADER_SIZE, -1, -1); - dissect_data(next_tvb, 0, pinfo, tree); + call_dissector(data_handle,next_tvb, pinfo, tree); break; } } @@ -344,4 +345,5 @@ proto_reg_handoff_isl(void) */ eth_handle = find_dissector("eth"); tr_handle = find_dissector("tr"); + data_handle = find_dissector("data"); } |