forked from pool/monitoring-plugins
56f2f155ba
Simple patch to avoid compiler errors with latest gcc - monitoring-plugins-2.1.1-check_log_-_quoting.patch renamed to monitoring-plugins-2.3.3-check_log_-_quoting.patch OBS-URL: https://build.opensuse.org/package/show/server:monitoring/monitoring-plugins?expand=0&rev=104
13 lines
415 B
Diff
13 lines
415 B
Diff
Index: monitoring-plugins-2.3.3/plugins-root/check_icmp.c
|
|
===================================================================
|
|
--- monitoring-plugins-2.3.3.orig/plugins-root/check_icmp.c
|
|
+++ monitoring-plugins-2.3.3/plugins-root/check_icmp.c
|
|
@@ -1446,6 +1446,7 @@ get_ip_address(const char *ifname)
|
|
#else
|
|
errno = 0;
|
|
crash("Cannot get interface IP address on this platform.");
|
|
+ return INADDR_NONE;
|
|
#endif
|
|
}
|
|
|