diff options
author | RincewindsHat <12514511+RincewindsHat@users.noreply.github.com> | 2023-10-01 12:03:34 (GMT) |
---|---|---|
committer | RincewindsHat <12514511+RincewindsHat@users.noreply.github.com> | 2023-10-01 12:03:34 (GMT) |
commit | 11487d161c6ca3152ab3fa6dbece8d0e2d18ea46 (patch) | |
tree | 37711fdfd633ea9098ccfe0a98783fb5f649826c | |
parent | 1aaa2385031da8de6c9d74cecf589482a56b9e35 (diff) | |
download | monitoring-plugins-11487d161c6ca3152ab3fa6dbece8d0e2d18ea46.tar.gz |
Comment some endifs to make comprehension easier
-rw-r--r-- | plugins-root/check_dhcp.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/plugins-root/check_dhcp.c b/plugins-root/check_dhcp.c index 0c18d5f..d74d4ac 100644 --- a/plugins-root/check_dhcp.c +++ b/plugins-root/check_dhcp.c | |||
@@ -57,9 +57,10 @@ const char *email = "devel@monitoring-plugins.org"; | |||
57 | #include <netinet/in.h> | 57 | #include <netinet/in.h> |
58 | #include <net/if.h> | 58 | #include <net/if.h> |
59 | #include <arpa/inet.h> | 59 | #include <arpa/inet.h> |
60 | |||
60 | #if HAVE_SYS_SOCKIO_H | 61 | #if HAVE_SYS_SOCKIO_H |
61 | #include <sys/sockio.h> | 62 | #include <sys/sockio.h> |
62 | #endif | 63 | #endif // HAVE_SYS_SOCKIO_H |
63 | 64 | ||
64 | #if defined( __linux__ ) | 65 | #if defined( __linux__ ) |
65 | 66 | ||
@@ -106,7 +107,7 @@ static int dl_open(const char *, int, int *); | |||
106 | static int dl_bind(int, int, u_char *); | 107 | static int dl_bind(int, int, u_char *); |
107 | long mac_addr_dlpi( const char *, int, u_char *); | 108 | long mac_addr_dlpi( const char *, int, u_char *); |
108 | 109 | ||
109 | #endif | 110 | #endif // __sun__ || __solaris__ || __hpux |
110 | 111 | ||
111 | 112 | ||
112 | 113 | ||