ports/net-mgmt/monitoring-plugins/files/patch-plugins-root_check__dhcp.c
Mathieu Arnold 5b471a482b Update to 2.1.2.
Sponsored by:	Absolight
2016-01-13 14:11:22 +00:00

12 lines
462 B
C

--- plugins-root/check_dhcp.c.orig 2015-10-16 09:06:18 UTC
+++ plugins-root/check_dhcp.c
@@ -323,7 +323,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;