forked from extern/shorewall_code
Allow ipsets in the routestopped file.
Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
parent
02e7d13710
commit
353915fc8b
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user