Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:15.6:Update
monitoring-plugins.11193
check_ping_fix_ip4.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File check_ping_fix_ip4.patch of Package monitoring-plugins.11193
diff -ur monitoring-plugins-2.2/plugins/check_ping.c monitoring-plugins-2.2_fix/plugins/check_ping.c --- monitoring-plugins-2.2/plugins/check_ping.c 2016-11-29 09:45:08.000000000 +0100 +++ monitoring-plugins-2.2_fix/plugins/check_ping.c 2019-04-09 14:09:57.574380368 +0200 @@ -128,6 +128,11 @@ #else xasprintf (&cmd, rawcmd, addresses[i], max_packets); #endif + if (address_family == AF_INET) { + free(rawcmd); + rawcmd = cmd; + xasprintf (&cmd, "%s -4", rawcmd); + } if (verbose >= 2) printf ("CMD: %s\n", cmd);
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor