diff options
| author | Sven Nierlein <sven@nierlein.de> | 2020-05-15 11:46:54 +0200 |
|---|---|---|
| committer | Sven Nierlein <sven@nierlein.de> | 2020-05-15 11:46:54 +0200 |
| commit | 53e6f2970dcbabd41d55d87b2e7623a86fe48ec9 (patch) | |
| tree | 766daf6602971dfc37e3e1d5f7483e35b98be5ff /plugins-root | |
| parent | adb958849491ea7e0bba4a15896ebd41a0fbff2d (diff) | |
| parent | 4264e7a6edb651793ef751723537767656a89e44 (diff) | |
| download | monitoring-plugins-53e6f2970dcbabd41d55d87b2e7623a86fe48ec9.tar.gz | |
Merge branch 'upstream' into check_curl
Diffstat (limited to 'plugins-root')
| -rw-r--r-- | plugins-root/check_dhcp.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins-root/check_dhcp.c b/plugins-root/check_dhcp.c index f4c2dafd..ad673237 100644 --- a/plugins-root/check_dhcp.c +++ b/plugins-root/check_dhcp.c | |||
| @@ -323,7 +323,8 @@ int get_hardware_address(int sock,char *interface_name){ | |||
| 323 | #elif defined(__bsd__) | 323 | #elif defined(__bsd__) |
| 324 | /* King 2004 see ACKNOWLEDGEMENTS */ | 324 | /* King 2004 see ACKNOWLEDGEMENTS */ |
| 325 | 325 | ||
| 326 | int mib[6], len; | 326 | size_t len; |
| 327 | int mib[6]; | ||
| 327 | char *buf; | 328 | char *buf; |
| 328 | unsigned char *ptr; | 329 | unsigned char *ptr; |
| 329 | struct if_msghdr *ifm; | 330 | struct if_msghdr *ifm; |
