Patches for check_ping for IPv6 [sf#777416] [#196]