diff options
-rwxr-xr-x | scripts/policy/vyatta-policy.pl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/policy/vyatta-policy.pl b/scripts/policy/vyatta-policy.pl index 72427b51..5e77a322 100755 --- a/scripts/policy/vyatta-policy.pl +++ b/scripts/policy/vyatta-policy.pl @@ -109,7 +109,7 @@ sub update_as_path() { @rules = $config->listNodes(); foreach $rule (sort numerically @rules) { - my $action, $regex = ''; + my ($action, $regex) = ''; # set the action $action = $config->returnValue("$rule action"); @@ -159,7 +159,7 @@ sub update_access_list() { @rules = $config->listNodes(); foreach $rule (sort numerically @rules) { - my $ip, $action, $src, $dst, $srcmsk, $dstmsk = ''; + my ($ip, $action, $src, $dst, $srcmsk, $dstmsk) = ''; # set the action $action = $config->returnValue("$rule action"); |