diff options
-rw-r--r-- | asn1/inap/packet-inap-template.c | 2 | ||||
-rw-r--r-- | epan/dissectors/packet-inap.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/asn1/inap/packet-inap-template.c b/asn1/inap/packet-inap-template.c index f786949a6f..6bc98ed92d 100644 --- a/asn1/inap/packet-inap-template.c +++ b/asn1/inap/packet-inap-template.c @@ -142,7 +142,7 @@ dissect_inap(tvbuff_t *tvb, packet_info *pinfo, proto_tree *parent_tree) /* Get the length and add 2 */ inap_pdu_size = tvb_get_guint8(tvb, offset+1)+2; opcode = 0; - offset = dissect_inap_ROS(TRUE, tvb, offset, &asn1_ctx, tree, -1); + dissect_inap_ROS(TRUE, tvb, offset, &asn1_ctx, tree, -1); } diff --git a/epan/dissectors/packet-inap.c b/epan/dissectors/packet-inap.c index 153a022ca2..e449b4425a 100644 --- a/epan/dissectors/packet-inap.c +++ b/epan/dissectors/packet-inap.c @@ -9367,7 +9367,7 @@ dissect_inap(tvbuff_t *tvb, packet_info *pinfo, proto_tree *parent_tree) /* Get the length and add 2 */ inap_pdu_size = tvb_get_guint8(tvb, offset+1)+2; opcode = 0; - offset = dissect_inap_ROS(TRUE, tvb, offset, &asn1_ctx, tree, -1); + dissect_inap_ROS(TRUE, tvb, offset, &asn1_ctx, tree, -1); } |