aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-catapult-dct2000.c
diff options
context:
space:
mode:
Diffstat (limited to 'epan/dissectors/packet-catapult-dct2000.c')
-rw-r--r--epan/dissectors/packet-catapult-dct2000.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/epan/dissectors/packet-catapult-dct2000.c b/epan/dissectors/packet-catapult-dct2000.c
index 21475e2a72..27137cc4be 100644
--- a/epan/dissectors/packet-catapult-dct2000.c
+++ b/epan/dissectors/packet-catapult-dct2000.c
@@ -2599,9 +2599,9 @@ dissect_catapult_dct2000(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
if (source_addr_offset != 0) {
proto_item *addr_ti;
- TVB_SET_ADDRESS(&pinfo->net_src,
+ set_address_tvb(&pinfo->net_src,
(source_addr_length == 4) ? AT_IPv4 : AT_IPv6,
- tvb, source_addr_offset, source_addr_length);
+ source_addr_length, tvb, source_addr_offset);
copy_address_shallow(&pinfo->src, &pinfo->net_src);
proto_tree_add_item(ipprim_tree,
@@ -2640,9 +2640,9 @@ dissect_catapult_dct2000(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
if (dest_addr_offset != 0) {
proto_item *addr_ti;
- TVB_SET_ADDRESS(&pinfo->net_dst,
+ set_address_tvb(&pinfo->net_dst,
(dest_addr_length == 4) ? AT_IPv4 : AT_IPv6,
- tvb, dest_addr_offset, dest_addr_length);
+ dest_addr_length, tvb, dest_addr_offset);
copy_address_shallow(&pinfo->dst, &pinfo->net_dst);
proto_tree_add_item(ipprim_tree,
(dest_addr_length == 4) ?
@@ -2749,9 +2749,9 @@ dissect_catapult_dct2000(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
if (dest_addr_offset != 0) {
proto_item *addr_ti;
- TVB_SET_ADDRESS(&pinfo->net_dst,
+ set_address_tvb(&pinfo->net_dst,
(dest_addr_length == 4) ? AT_IPv4 : AT_IPv6,
- tvb, dest_addr_offset, dest_addr_length);
+ dest_addr_length, tvb, dest_addr_offset);
copy_address_shallow(&pinfo->dst, &pinfo->net_dst);
proto_tree_add_item(sctpprim_tree,
(dest_addr_length == 4) ?