diff options
Diffstat (limited to 'scripts/policy/vyatta-policy.pl')
-rwxr-xr-x | scripts/policy/vyatta-policy.pl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/policy/vyatta-policy.pl b/scripts/policy/vyatta-policy.pl index 928c69f6..ae04470f 100755 --- a/scripts/policy/vyatta-policy.pl +++ b/scripts/policy/vyatta-policy.pl @@ -25,7 +25,7 @@ sub check_peer_syntax() { $_ = $peer; if (/^local$/) { exit 0; } - if (! isIpAddress("$peer")) { exit 0; } + if (isIpAddress("$peer")) { exit 0; } exit 1; } |