author | Jeremy T. Bouse <undrgrid@users.sourceforge.net> | |
Sun, 29 Jun 2003 19:17:27 +0000 (19:17 +0000) | ||
committer | Jeremy T. Bouse <undrgrid@users.sourceforge.net> | |
Sun, 29 Jun 2003 19:17:27 +0000 (19:17 +0000) | ||
commit | 825a7322b131a16819b0cacccc186b86fffc57eb | |
tree | 94311e40058eb5e25321575bd9dd9f9b0c863952 | tree | snapshot |
parent | d77d183ddb8bdff5069ba5fa008406087162d117 | commit | diff |
check_ping is now coded with -4 & -6 options to call PING or PING6 command
netutils modified to verify hosts based on address_family setting when used
with -4 or -6 options. is_inet_addr() will not be tested if -6 is
used and is_inet6_addr() will not be tested if -4 is used. Also the
is_hostname() will use the address_family value to resolve hostnames
only if IPv6 support is available otherwise defaults to AF_INET.
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@569 f882894a-f735-0410-b71e-b25c423dba1c
netutils modified to verify hosts based on address_family setting when used
with -4 or -6 options. is_inet_addr() will not be tested if -6 is
used and is_inet6_addr() will not be tested if -4 is used. Also the
is_hostname() will use the address_family value to resolve hostnames
only if IPv6 support is available otherwise defaults to AF_INET.
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@569 f882894a-f735-0410-b71e-b25c423dba1c
plugins/check_ping.c | diff | blob | history | |
plugins/netutils.c | diff | blob | history |