From 0b6423f9c99d9edf8c96fefd0f6c453859395aa1 Mon Sep 17 00:00:00 2001 From: Holger Weiss Date: Mon, 30 Sep 2013 00:03:24 +0200 Subject: Import Nagios Plugins site Import the Nagios Plugins web site, Cronjobs, infrastructure scripts, and configuration files. --- web/attachments/216525-check_dhcp-osx.patch | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 web/attachments/216525-check_dhcp-osx.patch (limited to 'web/attachments/216525-check_dhcp-osx.patch') diff --git a/web/attachments/216525-check_dhcp-osx.patch b/web/attachments/216525-check_dhcp-osx.patch new file mode 100644 index 0000000..16c5319 --- /dev/null +++ b/web/attachments/216525-check_dhcp-osx.patch @@ -0,0 +1,20 @@ +--- plugins-root/check_dhcp.c 28 Jan 2007 21:46:41 -0000 1.8 ++++ plugins-root/check_dhcp.c 18 Feb 2007 08:05:59 -0000 +@@ -65,7 +65,7 @@ + #include + #include + +-#elif defined (__bsd__) ++#elif defined (__bsd__) || defined (__APPLE__) + + #include + #include +@@ -301,7 +301,7 @@ + + memcpy(&client_hardware_address[0],&ifr.ifr_hwaddr.sa_data,6); + +-#elif defined(__bsd__) ++#elif defined(__bsd__) || defined(__APPLE__) + /* King 2004 see ACKNOWLEDGEMENTS */ + + int mib[6], len; -- cgit v1.2.3-74-g34f1