aboutsummaryrefslogtreecommitdiffstats
path: root/asn1
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 /asn1
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 'asn1')
-rw-r--r--asn1/atn-ulcs/packet-atn-ulcs-template.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/asn1/atn-ulcs/packet-atn-ulcs-template.c b/asn1/atn-ulcs/packet-atn-ulcs-template.c
index 5b7c04f8d2..b4f0bda6a7 100644
--- a/asn1/atn-ulcs/packet-atn-ulcs-template.c
+++ b/asn1/atn-ulcs/packet-atn-ulcs-template.c
@@ -511,10 +511,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 */
@@ -537,10 +537,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 */