diff options
author | Ed Warnicke <hagbard@physics.rutgers.edu> | 2001-11-25 22:19:25 +0000 |
---|---|---|
committer | Ed Warnicke <hagbard@physics.rutgers.edu> | 2001-11-25 22:19:25 +0000 |
commit | a810a01338337a3802ff19ef9d952999181458c3 (patch) | |
tree | 1f481119d56632ad3f9030bd985f5e9f8bc53ea9 /packet-sll.c | |
parent | 3054b1127a250514b15ac214bbe9e32a125ea7cf (diff) | |
download | wireshark-a810a01338337a3802ff19ef9d952999181458c3.tar.gz wireshark-a810a01338337a3802ff19ef9d952999181458c3.tar.bz2 wireshark-a810a01338337a3802ff19ef9d952999181458c3.zip |
Switched from calling dissect_data to using call_dissector
svn path=/trunk/; revision=4263
Diffstat (limited to 'packet-sll.c')
-rw-r--r-- | packet-sll.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/packet-sll.c b/packet-sll.c index ea5533e0f5..eabcd0b7bd 100644 --- a/packet-sll.c +++ b/packet-sll.c @@ -1,7 +1,7 @@ /* packet-sll.c * Routines for disassembly of packets from Linux "cooked mode" captures * - * $Id: packet-sll.c,v 1.12 2001/11/20 21:59:13 guy Exp $ + * $Id: packet-sll.c,v 1.13 2001/11/25 22:19:25 hagbard Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@ethereal.com> @@ -90,6 +90,7 @@ static const value_string ltype_vals[] = { static dissector_handle_t ipx_handle; static dissector_handle_t llc_handle; +static dissector_handle_t data_handle; void capture_sll(const u_char *pd, int len, packet_counts *ld) @@ -216,7 +217,7 @@ dissect_sll(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) break; default: - dissect_data(next_tvb, 0, pinfo, tree); + call_dissector(data_handle,next_tvb, pinfo, tree); break; } } else { @@ -284,6 +285,7 @@ proto_reg_handoff_sll(void) */ llc_handle = find_dissector("llc"); ipx_handle = find_dissector("ipx"); + data_handle = find_dissector("data"); dissector_add("wtap_encap", WTAP_ENCAP_SLL, dissect_sll, proto_sll); } |