diff options
author | Jan Wagner <waja@cyconet.org> | 2015-05-05 14:56:31 +0200 |
---|---|---|
committer | Holger Weiss <holger@zedat.fu-berlin.de> | 2015-10-02 10:32:00 +0200 |
commit | 6a939fa1bacd90b64a8e09939ee06223330f7567 (patch) | |
tree | 7020d634701f121eea82e58780729d708e907622 /plugins-root | |
parent | 1c0ec88152125624c35e0d675efde65fee7bf8df (diff) | |
download | monitoring-plugins-6a939fa1bacd90b64a8e09939ee06223330f7567.tar.gz |
Fixes segfaults when running via monitoring worker
(off-by-one)
Grabed from https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=198318
Diffstat (limited to 'plugins-root')
-rw-r--r-- | plugins-root/check_dhcp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins-root/check_dhcp.c b/plugins-root/check_dhcp.c index b874c555..5508d5f9 100644 --- a/plugins-root/check_dhcp.c +++ b/plugins-root/check_dhcp.c @@ -1182,7 +1182,7 @@ int call_getopt(int argc, char **argv){ } } - return i; + return i+1; } |