aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-tn3270.c
diff options
context:
space:
mode:
authorJaap Keuter <jaap.keuter@xs4all.nl>2009-11-04 06:58:42 +0000
committerJaap Keuter <jaap.keuter@xs4all.nl>2009-11-04 06:58:42 +0000
commitcaeca294d64b8d43b49ebeece335758fd9e38e08 (patch)
treebf0ba6b416f019248bfcbc5f412a6c97d20b1d6d /epan/dissectors/packet-tn3270.c
parentb1436f7dca54e5ccfb7c7583770b53f99925614d (diff)
From Robert Hogan:
Not incrementing tvb offset in two places in tn3270 dissector. svn path=/trunk/; revision=30813
Diffstat (limited to 'epan/dissectors/packet-tn3270.c')
-rw-r--r--epan/dissectors/packet-tn3270.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/dissectors/packet-tn3270.c b/epan/dissectors/packet-tn3270.c
index a8c837aaff..5c0fc8efdf 100644
--- a/epan/dissectors/packet-tn3270.c
+++ b/epan/dissectors/packet-tn3270.c
@@ -3489,7 +3489,7 @@ dissect_field_attribute_pair(proto_tree *tn3270_tree, tvbuff_t *tvb, gint offset
offset++;
break;
case T3270_FIELD_ATTRIBUTE:
- dissect_3270_field_attribute(tn3270_tree, tvb, offset);
+ offset += dissect_3270_field_attribute(tn3270_tree, tvb, offset);
break;
case EXTENDED_HIGHLIGHTING:
proto_tree_add_item(tn3270_tree,
@@ -3533,7 +3533,7 @@ dissect_field_attribute_pair(proto_tree *tn3270_tree, tvbuff_t *tvb, gint offset
offset++;
break;
case FIELD_VALIDATION:
- dissect_3270_field_validation(tn3270_tree, tvb, offset);
+ offset += dissect_3270_field_validation(tn3270_tree, tvb, offset);
break;
}