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-Tag: v2.15-rc1~11 X-Git-Url: http://git.ipfire.org/?p=people%2Fms%2Fipfire-2.x.git;a=commitdiff_plain;h=51cf3f8be548e3bb3bff19bab7c27dbb56e6e426 firewall: rules.pl: Honour time constraints for NAT rules as well. --- diff --git a/config/firewall/rules.pl b/config/firewall/rules.pl index a131c54a8e..f25983ce54 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) {