aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-tr.c
diff options
context:
space:
mode:
Diffstat (limited to 'epan/dissectors/packet-tr.c')
-rw-r--r--epan/dissectors/packet-tr.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/dissectors/packet-tr.c b/epan/dissectors/packet-tr.c
index e49ca58b6b..11f3fe586f 100644
--- a/epan/dissectors/packet-tr.c
+++ b/epan/dissectors/packet-tr.c
@@ -428,8 +428,8 @@ dissect_tr(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
/* Get the data */
trh->fc = tvb_get_guint8(tr_tvb, 1);
- TVB_SET_ADDRESS(&trh->src, AT_ETHER, tr_tvb, 8, 6);
- TVB_SET_ADDRESS(&trh->dst, AT_ETHER, tr_tvb, 2, 6);
+ set_address_tvb(&trh->src, AT_ETHER, 6, tr_tvb, 8);
+ set_address_tvb(&trh->dst, AT_ETHER, 6, tr_tvb, 2);
/* if the high bit on the first byte of src hwaddr is 1, then
this packet is source-routed */