Fix for issue #239 Thanks to Stephen Smoogen for spotting the problem!
@@ -4,6 +4,7 @@ x.x.x xxxx-xx-xx
FIXES
check_users: not accepting zero as the threshold
check_http: reports warning where it should report ok with -e
+ check_snmp: does not work with -6 --ipv6 flags
2.2.0 2017-01-19
@@ -328,6 +328,7 @@ Spenser Reinhardt
Stefan Meier
Stephane Chazelas
Stephane Lapie
+Stephen Smoogen
Steve Greenland
Steve Hanselman
Steve Rader
@@ -724,7 +724,7 @@ process_arguments (int argc, char **argv)
}
while (1) {
- c = getopt_long (argc, argv, "nhvVOt:c:w:H:C:o:e:E:d:D:s:t:R:r:l:u:p:m:P:N:L:U:a:x:A:X:",
+ c = getopt_long (argc, argv, "nhvVO46t:c:w:H:C:o:e:E:d:D:s:t:R:r:l:u:p:m:P:N:L:U:a:x:A:X:",
longopts, &option);
if (c == -1 || c == EOF)