aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-atn-ulcs.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-atn-ulcs.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-atn-ulcs.c')
-rw-r--r--epan/dissectors/packet-atn-ulcs.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/epan/dissectors/packet-atn-ulcs.c b/epan/dissectors/packet-atn-ulcs.c
index c67c18c0e0..d48118d2b2 100644
--- a/epan/dissectors/packet-atn-ulcs.c
+++ b/epan/dissectors/packet-atn-ulcs.c
@@ -1914,10 +1914,10 @@ atn_conversation_t * find_atn_conversation(
guint32 key = 0;
guint32 tmp = 0;
- ADD_ADDRESS_TO_HASH( tmp, address1);
+ add_address_to_hash( tmp, address1);
key = (tmp << 16) | clnp_ref1 ;
- ADD_ADDRESS_TO_HASH( tmp, address2);
+ add_address_to_hash( tmp, address2);
key = (tmp << 24) | key ;
/* search for atn conversation */
@@ -1940,10 +1940,10 @@ atn_conversation_t * create_atn_conversation(
guint32 key = 0;
guint32 tmp = 0;
- ADD_ADDRESS_TO_HASH( tmp, address1);
+ add_address_to_hash( tmp, address1);
key = (tmp << 16) | clnp_ref1 ;
- ADD_ADDRESS_TO_HASH( tmp, address2);
+ add_address_to_hash( tmp, address2);
key = (tmp << 24) | key ;
/* search for aircraft entry */