diff options
author | Lars Michelsen <lm@mathias-kettner.de> | 2015-10-13 08:26:01 (GMT) |
---|---|---|
committer | Jacob Hansen <jhansen@op5.com> | 2018-12-07 09:51:21 (GMT) |
commit | fd6dc666538dd95f11811817ceb21604676e142c (patch) | |
tree | c113cedbe5ee016650cb321e33d39b9c3cea65b9 /tap/tap.h | |
parent | c7c4be2ad1fa97d5b8db0cff5f7204c605992047 (diff) | |
download | monitoring-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 'tap/tap.h')
0 files changed, 0 insertions, 0 deletions