Wireshark-commits: [Wireshark-commits] master 6b5c71a: Don't cache existing IPv4 and IPv6 hostnames
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=6b5c71af0da1f213448b14d07e8a9cf209af63b2
Submitter: Gerald Combs (gerald@xxxxxxxxxxxxx)
Changed: branch: master
Repository: wireshark
Commits:
6b5c71a by Gerald Combs (gerald@xxxxxxxxxxxxx):
Don't cache existing IPv4 and IPv6 hostnames.
In the Qt UI redrawing the packet list redissects our visible packets,
which might call add_ipv{4,6}_name, which sets new_resolved_objects =
TRUE, which emits the addressResolutionChanged signal, which redraws the
packet list, which ...
Break out of the loop by checking to see if we've already cached an IPv4
or IPv6 hostname.
Change-Id: Icb2841e3453fb98d4cf0ea06a0f49737e2b8f25e
Reviewed-on: https://code.wireshark.org/review/7738
Reviewed-by: Gerald Combs <gerald@xxxxxxxxxxxxx>
Actions performed:
from 13b3fcb Eliminate decode_bitfield_value from dissectors.
adds 6b5c71a Don't cache existing IPv4 and IPv6 hostnames.
Summary of changes:
epan/addr_resolv.c | 27 ++++++++++++++-------------
1 file changed, 14 insertions(+), 13 deletions(-)