summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHolger Weiss <hweiss@users.sourceforge.net>2007-12-21 14:19:08 (GMT)
committerHolger Weiss <hweiss@users.sourceforge.net>2007-12-21 14:19:08 (GMT)
commit1544007dcf0ba19659efc08ca88638e3e2adc4a4 (patch)
tree0a73160abd3f755c445abd04944682dd3324e1cb
parent50809d42f0f33692322ea8f20270397ce03102cb (diff)
downloadmonitoring-plugins-1544007dcf0ba19659efc08ca88638e3e2adc4a4.tar.gz
Fix INADDR_NONE value (for systems which don't define it).
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1884 f882894a-f735-0410-b71e-b25c423dba1c
-rw-r--r--plugins-root/check_icmp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins-root/check_icmp.c b/plugins-root/check_icmp.c
index 77ddfee..1ddc756 100644
--- a/plugins-root/check_icmp.c
+++ b/plugins-root/check_icmp.c
@@ -84,7 +84,7 @@ const char *email = "nagiosplug-devel@lists.sourceforge.net";
84# define MAXTTL 255 84# define MAXTTL 255
85#endif 85#endif
86#ifndef INADDR_NONE 86#ifndef INADDR_NONE
87# define INADDR_NONE 0xffffffU 87# define INADDR_NONE (in_addr_t)(-1)
88#endif 88#endif
89 89
90#ifndef SOL_IP 90#ifndef SOL_IP