Only say we have a new resolved MAC address if it's actually *new*.
authorGuy Harris <guy@alum.mit.edu>
Mon, 29 Feb 2016 11:19:19 +0000 (03:19 -0800)
committerGuy Harris <guy@alum.mit.edu>
Mon, 29 Feb 2016 11:20:14 +0000 (11:20 +0000)
commit0e5a73fa4e8804c07cf56d6b0e47232ba536621c
tree55c29a2045dd3addd579cce3bc3ebd4fa11882c9
parentd5f2db6a7fa5ab85d6d4f9ca86e8c988063edd5a
Only say we have a new resolved MAC address if it's actually *new*.

If we aren't changing the resolved name, it's not new.

This prevents us from perpetually "resolving" the address.  If we have
ARP packets that cause us to map a MAC address to a host name, based on
the ARP packet saying the MAC address corresponds to a given resolved IP
address, then each time we dissect the packet, the address will be
"resolved" - and each time we have new resolved addresses as a result of
that, we'll redissect the displayed packets so that they show the
resolved address, and we'll forever be redissecting.

Change-Id: I445e92f407d52a4ed5986721ffcc472f86e99431
Reviewed-on: https://code.wireshark.org/review/14236
Reviewed-by: Guy Harris <guy@alum.mit.edu>
epan/addr_resolv.c