summaryrefslogtreecommitdiffstats
path: root/web/attachments/265656-nagios-plugins-1.4.11.patch
blob: e61c5130c17a1e893356bbc82084cde83a76959d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
diff -ru ../../../src/nagios-plugins-1.4.11/plugins-root/check_dhcp.c ./plugins-root/check_dhcp.c
--- ../../../src/nagios-plugins-1.4.11/plugins-root/check_dhcp.c	2007-10-25 15:43:04.000000000 -0500
+++ ./plugins-root/check_dhcp.c	2008-02-09 13:04:02.803830506 -0600
@@ -82,7 +82,7 @@
 #include <sys/sysctl.h>
 #include <net/if_dl.h>
 
-#elif defined(__sun__) || defined(__solaris__) || defined(__hpux__)
+#elif defined(__sun) ||  defined(__sun__) || defined(__solaris__) || defined(__hpux__)
 
 #define INSAP 22 
 #define OUTSAP 24