aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-fc.c
diff options
context:
space:
mode:
authorJoão Valverde <joao.valverde@tecnico.ulisboa.pt>2015-10-29 03:12:53 +0000
committerMichael Mann <mmann78@netscape.net>2015-11-03 12:20:34 +0000
commit3df2333155abf8fdfdedc51aca0fe962499f10b5 (patch)
treef241cb1777aaf99492eeb12c8365c96e705cfe4e /epan/dissectors/packet-fc.c
parent8571dbb908e13d63a80e6465ea19566162dad9c1 (diff)
Remaining ADDRESS macro to address function conversions
Change-Id: I8bc9af431e70243b05f4f0ce8c2b8ee451383788 Reviewed-on: https://code.wireshark.org/review/11463 Petri-Dish: Alexis La Goutte <alexis.lagoutte@gmail.com> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Michael Mann <mmann78@netscape.net>
Diffstat (limited to 'epan/dissectors/packet-fc.c')
-rw-r--r--epan/dissectors/packet-fc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/dissectors/packet-fc.c b/epan/dissectors/packet-fc.c
index 284e8fccde..671e5b1627 100644
--- a/epan/dissectors/packet-fc.c
+++ b/epan/dissectors/packet-fc.c
@@ -747,8 +747,8 @@ dissect_fc_helper (tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, gboolean
* will use ip addresses instead and still work.
*/
if(!is_ifcp){
- TVB_SET_ADDRESS (&pinfo->dst, AT_FC, tvb, offset+1, 3);
- TVB_SET_ADDRESS (&pinfo->src, AT_FC, tvb, offset+5, 3);
+ set_address_tvb (&pinfo->dst, AT_FC, 3, tvb, offset+1);
+ set_address_tvb (&pinfo->src, AT_FC, 3, tvb, offset+5);
pinfo->srcport=0;
pinfo->destport=0;
}