diff options
author | Guy Harris <guy@alum.mit.edu> | 2000-08-11 08:19:32 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2000-08-11 08:19:32 +0000 |
commit | 74a0606402e3ca2b6ee5a78e3e838184f106fb65 (patch) | |
tree | aff474dea4308e44a0122e4318c002d311e44e5c /packet-llc.c | |
parent | 4df46758e3ca576a7a52571edc9425b307d946df (diff) | |
download | wireshark-74a0606402e3ca2b6ee5a78e3e838184f106fb65.tar.gz wireshark-74a0606402e3ca2b6ee5a78e3e838184f106fb65.tar.bz2 wireshark-74a0606402e3ca2b6ee5a78e3e838184f106fb65.zip |
Don't bump "offset" in the non-SNAP case - it hasn't been set, and we
don't use it there.
svn path=/trunk/; revision=2252
Diffstat (limited to 'packet-llc.c')
-rw-r--r-- | packet-llc.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/packet-llc.c b/packet-llc.c index 3373c77420..e43b8fd664 100644 --- a/packet-llc.c +++ b/packet-llc.c @@ -2,7 +2,7 @@ * Routines for IEEE 802.2 LLC layer * Gilbert Ramirez <gram@xiexie.org> * - * $Id: packet-llc.c,v 1.66 2000/08/07 03:20:48 guy Exp $ + * $Id: packet-llc.c,v 1.67 2000/08/11 08:19:32 guy Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@zing.org> @@ -435,8 +435,6 @@ dissect_llc(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) next_tvb = tvb_new_subset(tvb, llc_header_len, -1, -1); if (XDLC_IS_INFORMATION(control)) { /* non-SNAP */ - offset += llc_header_len; - /* do lookup with the subdissector table */ if (!dissector_try_port(subdissector_table, dsap, next_tvb, pinfo, tree)) { |