summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorStig Thormodsrud <stig@io.vyatta.com>2009-02-11 18:06:56 -0800
committerStig Thormodsrud <stig@io.vyatta.com>2009-02-11 18:06:56 -0800
commitc1fcf5f5764e258663e6bc532783fa3c0a29d4a2 (patch)
treed45d6a9683be4e9966b4771cf1c0f45cd47c7b35 /lib
parent4beccd593b07fe93c35efcf6b8922abb58306102 (diff)
downloadvyatta-cfg-firewall-c1fcf5f5764e258663e6bc532783fa3c0a29d4a2.tar.gz
vyatta-cfg-firewall-c1fcf5f5764e258663e6bc532783fa3c0a29d4a2.zip
Add check for combination of IP range and network-group.
Diffstat (limited to 'lib')
-rwxr-xr-xlib/Vyatta/IpTables/AddressFilter.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Vyatta/IpTables/AddressFilter.pm b/lib/Vyatta/IpTables/AddressFilter.pm
index d073e6b..a0abb3e 100755
--- a/lib/Vyatta/IpTables/AddressFilter.pm
+++ b/lib/Vyatta/IpTables/AddressFilter.pm
@@ -215,6 +215,7 @@ sub rule {
$rule .= ("-m iprange $negate--dst-range $start-$self->{_range_stop} ");
}
$group_ok{address} = 0;
+ $group_ok{network} = 0;
}
$group_ok{port} = 0 if defined $self->{_port};