Fix check_command interfaces, change option match_aliases to boolean

fixes #9912

Signed-off-by: Gunnar Beutner <gunnar@beutner.name>
This commit is contained in:
Lennart Betz 2015-08-16 17:00:25 +02:00 committed by Gunnar Beutner
parent 49cf0bb644
commit bd5f70f92c
1 changed files with 4 additions and 1 deletions

View File

@ -425,7 +425,7 @@ object CheckCommand "interfaces" {
description = "Retrieves the interface description."
}
"--match-aliases" = {
value = "$interfaces_match_aliases$"
set_if = "$interfaces_match_aliases$"
description = "Also match against aliases (Option --aliases automatically enabled)."
}
"--timeout" = {
@ -439,4 +439,7 @@ object CheckCommand "interfaces" {
}
vars.interfaces_address = "$check_address$"
vars.interfaces_down_is_ok = false
vars.interfaces_aliases = false
vars.interfaces_match_aliases = false
}