summaryrefslogtreecommitdiffstats
path: root/plugins-root
diff options
context:
space:
mode:
authorJan Wagner <waja@cyconet.org>2015-05-05 14:56:31 +0200
committerHolger Weiss <holger@zedat.fu-berlin.de>2015-10-02 10:32:00 +0200
commit6a939fa1bacd90b64a8e09939ee06223330f7567 (patch)
tree7020d634701f121eea82e58780729d708e907622 /plugins-root
parent1c0ec88152125624c35e0d675efde65fee7bf8df (diff)
downloadmonitoring-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.c2
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){
1182 } 1182 }
1183 } 1183 }
1184 1184
1185 return i; 1185 return i+1;
1186 } 1186 }
1187 1187
1188 1188