firewall: rules.pl: Honour time constraints for NAT rules as well.

This commit is contained in:
Michael Tremer
2014-03-21 13:39:03 +01:00
parent f98bb538e5
commit 51cf3f8be5

View File

@@ -322,6 +322,7 @@ sub buildrules {
}
push(@nat_options, @source_options);
push(@nat_options, ("-d", $nat_address));
push(@nat_options, @time_options);
my $dnat_port;
if ($protocol_has_ports) {