diff options
Diffstat (limited to 'epan/dissectors/packet-ua.c')
-rw-r--r-- | epan/dissectors/packet-ua.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/dissectors/packet-ua.c b/epan/dissectors/packet-ua.c index ec48a7f2d6..1bfbbaa324 100644 --- a/epan/dissectors/packet-ua.c +++ b/epan/dissectors/packet-ua.c @@ -65,7 +65,7 @@ static void uadecode(e_ua_direction direction, case 0x16: { call_dissector(noe_handle, - tvb_new_subset(tvb, offset, length, length), + tvb_new_subset_length(tvb, offset, length), pinfo, tree); break; @@ -141,7 +141,7 @@ static void uadecode(e_ua_direction direction, case 0x50: /* Only UA NOE */ { call_dissector_with_data(ua3g_handle, - tvb_new_subset(tvb, offset, length, length), + tvb_new_subset_length(tvb, offset, length), pinfo, tree, &direction); break; |