firewall: rules.pl: Honour time constraints for NAT rules as well.
authorMichael Tremer <michael.tremer@ipfire.org>
Fri, 21 Mar 2014 12:39:03 +0000 (13:39 +0100)
committerMichael Tremer <michael.tremer@ipfire.org>
Fri, 21 Mar 2014 12:39:03 +0000 (13:39 +0100)
config/firewall/rules.pl

index a131c54..f25983c 100755 (executable)
@@ -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) {