summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormtudosoiu <marian.tudosoiu@1and1.ro>2018-03-26 09:04:35 +0300
committerGitHub <noreply@github.com>2018-03-26 09:04:35 +0300
commitfc5e3b8bb61690619ee739f11cac54abb689d5f2 (patch)
tree1238d40f26d4e992428e041bf11460428824f7bc
parent9e61589926f6801c318406d373d5b9d01922e12e (diff)
downloadvyatta-cfg-firewall-fc5e3b8bb61690619ee739f11cac54abb689d5f2.tar.gz
vyatta-cfg-firewall-fc5e3b8bb61690619ee739f11cac54abb689d5f2.zip
Task T35 - fixing scoping rules
-rwxr-xr-xlib/Vyatta/IpTables/IpSet.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Vyatta/IpTables/IpSet.pm b/lib/Vyatta/IpTables/IpSet.pm
index 5258773..ba5e68d 100755
--- a/lib/Vyatta/IpTables/IpSet.pm
+++ b/lib/Vyatta/IpTables/IpSet.pm
@@ -194,7 +194,7 @@ sub create {
if ($self->{_type} eq 'port') {
$ipset_param .= ' --from 1 --to 65535';
- my $cmd = "ipset -N $self->{_name} $ipset_param";
+ $cmd = "ipset -N $self->{_name} $ipset_param";
}
my $rc = $self->run_cmd($cmd);