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 | |
| parent | 1c0ec88152125624c35e0d675efde65fee7bf8df (diff) | |
| download | monitoring-plugins-6a939fa.tar.gz | |
Fixes segfaults when running via monitoring worker
(off-by-one)
Grabed from https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=198318
| -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){ | |||
| 1182 | } | 1182 | } |
| 1183 | } | 1183 | } |
| 1184 | 1184 | ||
| 1185 | return i; | 1185 | return i+1; |
| 1186 | } | 1186 | } |
| 1187 | 1187 | ||
| 1188 | 1188 | ||
