Wireshark-commits: [Wireshark-commits] master b2c81bb: Make get_manuf_name return a const string.
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=b2c81bb9e80aed27c32f29cc36f181149c57f18f
Submitter: Michael Mann (mmann78@xxxxxxxxxxxx)
Changed: branch: master
Repository: wireshark
Commits:
b2c81bb by Michael Mann (mmann78@xxxxxxxxxxxx):
Make get_manuf_name return a const string.
Model get_manuf_name after get_ether_name so that a string (either name resolved or colon-separated bytes) is always stored in a hash table. This will make name resolution of addresses perform a little better because it doesn't have to worry about the wmem_allocator.
Change-Id: If976fe7b0c3f9cd053225096c2ac05418f061af6
Reviewed-on: https://code.wireshark.org/review/7081
Petri-Dish: Michael Mann <mmann78@xxxxxxxxxxxx>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@xxxxxxxxxxxxx>
Reviewed-by: Michael Mann <mmann78@xxxxxxxxxxxx>
Actions performed:
from b2d23ec [STUN] Avoid fetching stuff twice from the tvb.
adds b2c81bb Make get_manuf_name return a const string.
Summary of changes:
debian/libwireshark0.symbols | 1 +
epan/addr_resolv.c | 116 +++++++++++++++++++++++++++--------------
epan/addr_resolv.h | 8 ++-
epan/address_types.c | 10 ++--
epan/dissectors/packet-nhrp.c | 4 +-
ui/gtk/addr_resolution_dlg.c | 4 +-
6 files changed, 92 insertions(+), 51 deletions(-)