URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=a308aef89d5b262c9e04f51e2a695bee90446cb1
Submitter: Jeff Morriss (jeff.morriss.ws@xxxxxxxxx)
Changed: branch: master
Repository: wireshark
Commits:
a308aef by Jeff Morriss (jeff.morriss.ws@xxxxxxxxx):
Look for and use gethostbyname() if we don't have getaddrinfo(). Fail to
configure if we can't find any name resolver (autotools only).
This puts back the gethostbyname()/gethostbyname2() code removed in
I3348179626e97daaddfbc89e3ed21e39915e3de4 and
If59ce8a038776eadd6cd1794ed0e2dad8bf8a22c but as a last-resort option (only
if we don't have a better or more modern name resolver).
As suggested/requested by Guy in https://code.wireshark.org/review/#/c/7423/
Change-Id: I706dbbd65135f47c67d3d8d88a61ad7273914c47
Reviewed-on: https://code.wireshark.org/review/7447
Petri-Dish: Jeff Morriss <jeff.morriss.ws@xxxxxxxxx>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@xxxxxxxxxxxxx>
Reviewed-by: Jeff Morriss <jeff.morriss.ws@xxxxxxxxx>
Actions performed:
from 9070656 SSTP: fix no previous prototype for proto_register_sstp/proto_reg_handoff_sstp [-Wmissing-prototypes]
adds a308aef Look for and use gethostbyname() if we don't have getaddrinfo(). Fail to configure if we can't find any name resolver (autotools only).
Summary of changes:
ConfigureChecks.cmake | 2 ++
acinclude.m4 | 43 ++++++++++++++++++++++++------
cmakeconfig.h.in | 6 +++++
configure.ac | 33 ++++++++++++++++++-----
epan/addr_resolv.c | 70 +++++++++++++++++++++++++++++++++++++++++--------
5 files changed, 129 insertions(+), 25 deletions(-)