summaryrefslogtreecommitdiffstats
path: root/build-aux/ltmain.sh
diff options
context:
space:
mode:
authorJacob Hansen <jhansen@op5.com>2018-12-06 15:33:34 (GMT)
committerJacob Hansen <jhansen@op5.com>2018-12-07 09:51:21 (GMT)
commit0882b4201bfa0608b90448c4866b571a20e1fd66 (patch)
tree1de258e676765c7b895c7e73b4aebc526ca09511 /build-aux/ltmain.sh
parente5eccb663efb40c010ed608f5900b341592cfa68 (diff)
downloadmonitoring-plugins-0882b4201bfa0608b90448c4866b571a20e1fd66.tar.gz
check_icmp: Correctly set address_family on lookup
If a hostname is supplied instead of an IP address, the automatic address family detection would fail to correctly set the IP protocol version (it would always be IPv6). We now supply AF_UNSPEC to getaddrinfo, which should then return the correct address family in the result. Signed-off-by: Jacob Hansen <jhansen@op5.com>
Diffstat (limited to 'build-aux/ltmain.sh')
0 files changed, 0 insertions, 0 deletions