Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions itl/command-plugins.conf
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@ template CheckCommand "ipv4-or-ipv6" {
var addr_v4 = macro("$address$")
var addr_v6 = macro("$address6$")

if (addr_v4 && !macro("$check_ipv6$") || macro("$check_ipv4$")) {
return addr_v4
} else {
if (addr_v6 && !macro("$check_ipv4$") || macro("$check_ipv6$")) {
return addr_v6
} else {
return addr_v4
}
}}

Expand Down
Loading