From b1f7b05fd8d6b79947d5bb29e52f38565115297d Mon Sep 17 00:00:00 2001 From: guy Date: Mon, 25 Apr 2005 18:04:28 +0000 Subject: Make the offsets of the source address length and source address match reality. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@14187 f5534014-38df-0310-8fa8-9805f1628bb7 --- epan/dissectors/packet-esis.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'epan/dissectors/packet-esis.c') diff --git a/epan/dissectors/packet-esis.c b/epan/dissectors/packet-esis.c index b923067719..8b623194a3 100644 --- a/epan/dissectors/packet-esis.c +++ b/epan/dissectors/packet-esis.c @@ -170,9 +170,9 @@ esis_dissect_esh_pdu( guint8 len, tvbuff_t *tvb, proto_tree *tree) { esis_area_tree = proto_item_add_subtree( ti, ett_esis_area_addr ); while ( no_sa-- > 0 ) { sal = (int) tvb_get_guint8(tvb, offset); - offset++; proto_tree_add_text(esis_area_tree, tvb, offset, 1, "SAL: %2u Octets", sal); - proto_tree_add_text(esis_area_tree, tvb, offset + 1, sal, + offset++; + proto_tree_add_text(esis_area_tree, tvb, offset, sal, " SA: %s", print_nsap_net( tvb_get_ptr(tvb, offset, sal), sal ) ); offset += sal; -- cgit v1.2.3