aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-iax2.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-iax2.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-iax2.c')
-rw-r--r--epan/dissectors/packet-iax2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-iax2.c b/epan/dissectors/packet-iax2.c
index 5b9a368d22..933381b1d8 100644
--- a/epan/dissectors/packet-iax2.c
+++ b/epan/dissectors/packet-iax2.c
@@ -642,7 +642,7 @@ static guint iax_circuit_hash(gconstpointer v)
guint hash_val;
hash_val = 0;
- add_address_to_hash(hash_val, &key->addr);
+ hash_val = add_address_to_hash(hash_val, &key->addr);
hash_val += (guint)(key->ptype);
hash_val += (guint)(key->port);
hash_val += (guint)(key->callno);