Don't call eth_addr_resolve() unconditionally.
svn path=/trunk/; revision=51207
This commit is contained in:
parent
812ad4f3bf
commit
fd4a111149
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue