aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-atn-ulcs.c
diff options
context:
space:
mode:
authorEvan Huus <eapache@gmail.com>2015-12-02 16:52:35 -0500
committerEvan Huus <eapache@gmail.com>2015-12-03 02:00:18 +0000
commitcda450ed591d73aab366569eb748659f194e7168 (patch)
treeeadf9b7c87e66fd8be09788f6eb82ec7aafda85f /epan/dissectors/packet-atn-ulcs.c
parentde87db6170f68ba6bb7e6859365c16deefc3864d (diff)
Fix address hashing broken in g4f39c60
We actually have to *use* the return value of the method, which the macro did for us. Change-Id: I240ca7e526a18054fe39c6c4ded902998dc2fef0 Reviewed-on: https://code.wireshark.org/review/12389 Petri-Dish: Evan Huus <eapache@gmail.com> Reviewed-by: Anders Broman <a.broman58@gmail.com> Reviewed-by: Jim Young <jim.young.ws@gmail.com> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Evan Huus <eapache@gmail.com>
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 d48118d2b2..cdbaee766b 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);
+ tmp = add_address_to_hash( tmp, address1);
key = (tmp << 16) | clnp_ref1 ;
- add_address_to_hash( tmp, address2);
+ tmp = 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);
+ tmp = add_address_to_hash( tmp, address1);
key = (tmp << 16) | clnp_ref1 ;
- add_address_to_hash( tmp, address2);
+ tmp = add_address_to_hash( tmp, address2);
key = (tmp << 24) | key ;
/* search for aircraft entry */