]> git.german-service-network.de Git - fping.git/commit
Update fping.c
authoraafbsd <[email protected]>
Sat, 7 Aug 2021 09:51:04 +0000 (11:51 +0200)
committerGitHub <[email protected]>
Sat, 7 Aug 2021 09:51:04 +0000 (11:51 +0200)
commitbbe847a5d9ae20b5e27689cd485e62649fb32491
tree69cb49b3e5d51032d77b896e30455fd0aa217848
parentb4aeda17fd416ac9561b872c58aa13fd564a54c1
Update fping.c

getnameinfo() was not called properly for IPv4 (didn't check v6).
Additionally, one might also want to check the result code, call gai_strerror() and inform the user if s.th. goes wrong
src/fping.c