From 5c5f1fd4e601decf5dc636f34738b3f6b357cb51 Mon Sep 17 00:00:00 2001 From: Guy Harris Date: Mon, 25 Apr 2005 18:04:28 +0000 Subject: Make the offsets of the source address length and source address match reality. svn path=/trunk/; revision=14187 --- 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