summaryrefslogtreecommitdiff
path: root/scripts/policy
diff options
context:
space:
mode:
authorRobert Bays <rbays@moresby.(none)>2007-11-09 17:53:47 -0800
committerRobert Bays <rbays@moresby.(none)>2007-11-09 17:53:47 -0800
commit6c4f2ec235c8c6b4ad821cbf2878bf5f9d9586b5 (patch)
treec8485a508cbb2074611dcf6fbc60140b0813d9fe /scripts/policy
parent937ce3b04b0b8295ab5b86f4349bdd7abdbdb1c3 (diff)
downloadvyatta-cfg-quagga-6c4f2ec235c8c6b4ad821cbf2878bf5f9d9586b5.tar.gz
vyatta-cfg-quagga-6c4f2ec235c8c6b4ad821cbf2878bf5f9d9586b5.zip
template updates
Diffstat (limited to 'scripts/policy')
-rwxr-xr-xscripts/policy/vyatta-policy.pl2
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;
}