diff options
author | Anders Broman <anders.broman@ericsson.com> | 2013-08-08 04:32:19 +0000 |
---|---|---|
committer | Anders Broman <anders.broman@ericsson.com> | 2013-08-08 04:32:19 +0000 |
commit | fd4a11114904623ce42321beae884ddb064d725e (patch) | |
tree | a788b3d489a15b1f8702e64b152549184ebe9070 /epan/addr_resolv.c | |
parent | 812ad4f3bfe74f615d3e36af479cfea8c28abe30 (diff) | |
download | wireshark-fd4a11114904623ce42321beae884ddb064d725e.tar.gz |
Don't call eth_addr_resolve() unconditionally.
svn path=/trunk/; revision=51207
Diffstat (limited to 'epan/addr_resolv.c')
-rw-r--r-- | epan/addr_resolv.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/epan/addr_resolv.c b/epan/addr_resolv.c index c18706d01a..4f61d9b48b 100644 --- a/epan/addr_resolv.c +++ b/epan/addr_resolv.c @@ -1763,7 +1763,9 @@ eth_name_lookup(const guint8 *addr, const gboolean resolve) { if( tp == NULL ) { tp = eth_hash_new_entry(addr, resolve); } else { - eth_addr_resolve(tp); /* Found but needs to be resolved */ + if (resolve && (tp->status == HASHETHER_STATUS_UNRESOLVED)){ + eth_addr_resolve(tp); /* Found but needs to be resolved */ + } } return tp; |