aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-netflow.c
diff options
context:
space:
mode:
authorGerald Combs <gerald@wireshark.org>2015-10-23 11:14:34 -0700
committerMichael Mann <mmann78@netscape.net>2015-10-24 01:44:24 +0000
commit4f39c603c2f0a2e429afedd18cd5c796bbbf8916 (patch)
treeb531dc21b1155c12e41722defdff2e73442ebab2 /epan/dissectors/packet-netflow.c
parentae130f114cd61443c8c93e1c9280e027726a0235 (diff)
More ADDRESS macro to address function conversions.
Replace remaining calls to SET_ADDRESS, CMP_ADDRESS, ADDRESSES_EQUAL, COPY_ADDRESS, and COPY_ADDRESS_SHALLOW with their lower-case equivalents. Replace all ADD_ADDRESS_TO_HASH calls with add_address_to_hash. Change-Id: I4cff857d7a84085abe0bccd52d2605d2a468bf6f Reviewed-on: https://code.wireshark.org/review/11229 Reviewed-by: Gerald Combs <gerald@wireshark.org> Petri-Dish: Gerald Combs <gerald@wireshark.org> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Michael Mann <mmann78@netscape.net>
Diffstat (limited to 'epan/dissectors/packet-netflow.c')
-rw-r--r--epan/dissectors/packet-netflow.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/dissectors/packet-netflow.c b/epan/dissectors/packet-netflow.c
index 1c9a5774f1..e40dc439cc 100644
--- a/epan/dissectors/packet-netflow.c
+++ b/epan/dissectors/packet-netflow.c
@@ -7334,8 +7334,8 @@ v9_v10_tmplt_table_hash(gconstpointer k)
val = tmplt_p->src_id + (tmplt_p->tmplt_id << 9) + tmplt_p->src_port + tmplt_p->dst_port;
- ADD_ADDRESS_TO_HASH(val, &tmplt_p->src_addr);
- ADD_ADDRESS_TO_HASH(val, &tmplt_p->dst_addr);
+ add_address_to_hash(val, &tmplt_p->src_addr);
+ add_address_to_hash(val, &tmplt_p->dst_addr);
return val;
}