aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-esis.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2005-04-25 18:04:28 +0000
committerGuy Harris <guy@alum.mit.edu>2005-04-25 18:04:28 +0000
commit5c5f1fd4e601decf5dc636f34738b3f6b357cb51 (patch)
tree47b8e7417bbb588ef8efa40bc9612328e9c60b2d /epan/dissectors/packet-esis.c
parent53865bb0465e6909953c861f56377933fb3bb273 (diff)
Make the offsets of the source address length and source address match
reality. svn path=/trunk/; revision=14187
Diffstat (limited to 'epan/dissectors/packet-esis.c')
-rw-r--r--epan/dissectors/packet-esis.c4
1 files changed, 2 insertions, 2 deletions
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;