diff options
-rw-r--r-- | epan/addr_resolv.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/addr_resolv.c b/epan/addr_resolv.c index aa144cca8e..8ccb415aa6 100644 --- a/epan/addr_resolv.c +++ b/epan/addr_resolv.c @@ -2056,7 +2056,7 @@ extern void add_ether_byip(guint ip, const guint8 *eth) /* first check that IP address can be resolved */ - if ((host = host_name_lookup(ip, &found)) == NULL) + if (!(g_resolv_flags & RESOLV_NETWORK) || ((host = host_name_lookup(ip, &found)) == NULL)) return; /* ok, we can add this entry in the ethers hashtable */ |