From: Michael Tremer Date: Fri, 21 Mar 2014 12:39:03 +0000 (+0100) Subject: firewall: rules.pl: Honour time constraints for NAT rules as well. X-Git-Url: http://git.ipfire.org/?p=people%2Fteissler%2Fipfire-2.x.git;a=commitdiff_plain;h=51cf3f8be548e3bb3bff19bab7c27dbb56e6e426;hp=f98bb538e59279bb0768a15fc7d95267f4d61c74 firewall: rules.pl: Honour time constraints for NAT rules as well. --- diff --git a/config/firewall/rules.pl b/config/firewall/rules.pl index a131c54a8..f25983ce5 100755 --- a/config/firewall/rules.pl +++ b/config/firewall/rules.pl @@ -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) {