check_icmp: Add IPv6 support (#1384)

Lars notifications at
Tue Oct 13 10:37:55 CEST 2015

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

This commit also fixes some gcc 4.9.2 compiler warnings. It has been
tested with several current linux distributions (debian, ubuntu, rh,

This commit fixes monitoring-plugins/monitoring-plugins#1291
You can view, comment on, or merge this pull request online at:

-- Commit Summary --

  * check_icmp: Add IPv6 support

-- File Changes --

    M plugins-root/check_icmp.c (491)

-- Patch Links --

Reply to this email on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the Devel mailing list