diff options
Diffstat (limited to 'net-mgmt/nagios-plugins/files/patch-plugins-root_check__dhcp.c')
-rw-r--r-- | net-mgmt/nagios-plugins/files/patch-plugins-root_check__dhcp.c | 21 |
1 files changed, 0 insertions, 21 deletions
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; - } - - |