aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorGravatar Lars Michelsen <lm@mathias-kettner.de> 2015-10-13 10:26:01 +0200
committerGravatar Jacob Hansen <jhansen@op5.com> 2018-12-07 09:51:21 +0000
commitfd6dc666538dd95f11811817ceb21604676e142c (patch)
treec113cedbe5ee016650cb321e33d39b9c3cea65b9 /lib
parentc7c4be2ad1fa97d5b8db0cff5f7204c605992047 (diff)
downloadmonitoring-plugins-fd6dc666538dd95f11811817ceb21604676e142c.tar.gz
check_icmp: Add IPv6 support
This commit adds IPv6 capabilities to check_icmp. It is now possible to specify the address family using the arguments -4 (default) or -6. To make the change possible we had to move the argument parsing previous to creating the socket to be able to create it with the correct address family. This commit also fixes some gcc 4.9.2 compiler warnings. It has been tested with several current linux distributions (debian, ubuntu, rh, sles). This commit fixes monitoring-plugins/monitoring-plugins#1291
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions