From d462f7ed56b19a09201e92ccbb7110c3a96071fa Mon Sep 17 00:00:00 2001 From: Mathieu Arnold Date: Wed, 3 Aug 2016 14:21:35 +0000 Subject: Update to 2.1.2. Reported by: portscout Sponsored by: Absolight --- .../files/patch-plugins-root_check__dhcp.c | 21 --------------------- 1 file changed, 21 deletions(-) delete mode 100644 net-mgmt/nagios-plugins/files/patch-plugins-root_check__dhcp.c (limited to 'net-mgmt/nagios-plugins/files/patch-plugins-root_check__dhcp.c') diff --git a/net-mgmt/nagios-plugins/files/patch-plugins-root_check__dhcp.c b/net-mgmt/nagios-plugins/files/patch-plugins-root_check__dhcp.c deleted file mode 100644 index 926d3b7eddff..000000000000 --- a/net-mgmt/nagios-plugins/files/patch-plugins-root_check__dhcp.c +++ /dev/null @@ -1,21 +0,0 @@ ---- plugins-root/check_dhcp.c.orig 2015-07-30 21:40:06 UTC -+++ plugins-root/check_dhcp.c -@@ -326,7 +326,8 @@ int get_hardware_address(int sock,char * - #elif defined(__bsd__) - /* King 2004 see ACKNOWLEDGEMENTS */ - -- int mib[6], len; -+ int mib[6]; -+ size_t len; - char *buf; - unsigned char *ptr; - struct if_msghdr *ifm; -@@ -1194,7 +1195,7 @@ int call_getopt(int argc, char **argv){ - } - } - -- return i; -+ return i+1; - } - - -- cgit v1.2.3