Allow ipsets in the routestopped file.

Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
Tom Eastep 2012-09-01 10:52:37 -07:00
parent 02e7d13710
commit 353915fc8b

View File

@ -574,8 +574,7 @@ sub process_routestopped() {
my $rule = do_proto( $proto, $ports, $sports, 0 );
for my $host ( split /,/, $hosts ) {
fatal_error "Ipsets not allowed with SAVE_IPSETS=Yes" if $host =~ /^!?\+/ && $config{SAVE_IPSETS};
validate_host $host, 1;
imatch_source_net( $host );
push @hosts, "$interface|$host|$seq";
push @rule, $rule;
}