aboutsummaryrefslogtreecommitdiff
path: root/config_test/run_tests
diff options
context:
space:
mode:
authorGravatar Jacob Hansen <jhansen@op5.com> 2018-12-03 14:19:27 +0000
committerGravatar Jacob Hansen <jhansen@op5.com> 2018-12-07 09:51:21 +0000
commite3ade3374a99155c8c70d89a8d8116240d5c8df0 (patch)
tree56507af1512bcaa859b7e24f43048c2227198efb /config_test/run_tests
parent8edac9421f8ce28ab51917de4e056ac609eadd49 (diff)
downloadmonitoring-plugins-e3ade3374a99155c8c70d89a8d8116240d5c8df0.tar.gz
check_icmp: process protocol version args first
Detection of protocol version is in the previous patch implemented in the add_target() function, which is called when adding the -H command line argument. That means that if a protocal version argument (-4, -6) is added after the -H then the protocol version might be incorrectly set. This patch ensures that we first process the protocol version arguments, and then we process the rest of the arguments. Signed-off-by: Jacob Hansen <jhansen@op5.com>
Diffstat (limited to 'config_test/run_tests')
0 files changed, 0 insertions, 0 deletions