[monitoring-plugins] Less includes
RincewindsHat
git at monitoring-plugins.org
Tue Mar 15 21:10:12 CET 2022
Module: monitoring-plugins
Branch: check_icmp_buffer_offerflow
Commit: 906d00af3cfd3411c36e7ba8b5aaf6e0596a2b33
Author: RincewindsHat <12514511+RincewindsHat at users.noreply.github.com>
Date: Fri Dec 3 01:07:01 2021 +0100
URL: https://www.monitoring-plugins.org/repositories/monitoring-plugins/commit/?id=906d00a
Less includes
---
plugins-root/check_icmp.c | 9 ++++++---
1 file changed, 6 insertions(+), 3 deletions(-)
diff --git a/plugins-root/check_icmp.c b/plugins-root/check_icmp.c
index df0d3c1..783b85d 100644
--- a/plugins-root/check_icmp.c
+++ b/plugins-root/check_icmp.c
@@ -50,6 +50,8 @@ const char *email = "devel at monitoring-plugins.org";
#if HAVE_SYS_SOCKIO_H
#include <sys/sockio.h>
#endif
+
+/*
#include <sys/ioctl.h>
#include <sys/time.h>
#include <sys/types.h>
@@ -60,9 +62,12 @@ const char *email = "devel at monitoring-plugins.org";
#include <stddef.h>
#include <errno.h>
#include <string.h>
-#include <ctype.h>
#include <netdb.h>
#include <sys/socket.h>
+#include <signal.h>
+#include <float.h>
+*/
+#include <ctype.h>
#include <net/if.h>
#include <netinet/in_systm.h>
#include <netinet/in.h>
@@ -71,8 +76,6 @@ const char *email = "devel at monitoring-plugins.org";
#include <netinet/ip_icmp.h>
#include <netinet/icmp6.h>
#include <arpa/inet.h>
-#include <signal.h>
-#include <float.h>
/** sometimes undefined system macros (quite a few, actually) **/
More information about the Commits
mailing list