summaryrefslogtreecommitdiffstats
path: root/ui/ncurses/nc-config.c
diff options
context:
space:
mode:
authorSamuel Mendoza-Jonas <sam@mendozajonas.com>2018-05-23 14:39:17 +1000
committerSamuel Mendoza-Jonas <sam@mendozajonas.com>2018-07-10 14:42:56 +1000
commit735a9ed99a56df4e6bc496bdbe30a5aaa80a9685 (patch)
tree8732d8c53ba2fa2875f1141e30333cbec40a451c /ui/ncurses/nc-config.c
parentd30872fe40c87300e62ef2aea484b9cea618c9de (diff)
downloadtalos-petitboot-735a9ed99a56df4e6bc496bdbe30a5aaa80a9685.tar.gz
talos-petitboot-735a9ed99a56df4e6bc496bdbe30a5aaa80a9685.zip
discover: Determine connectivity with getaddrinfo()
Use getaddrinfo() to determine if a remote URL is reachable instead of only checking if we have an addresses configured. This avoids, for example, trying to load an IPv4 URL when only an IPv6 address is available. Signed-off-by: Samuel Mendoza-Jonas <sam@mendozajonas.com>
Diffstat (limited to 'ui/ncurses/nc-config.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud