]> git.ipfire.org Git - people/teissler/ipfire-2.x.git/blobdiff - config/firewall/rules.pl
firewall: rules.pl: Honour time constraints for NAT rules as well.
[people/teissler/ipfire-2.x.git] / config / firewall / rules.pl
index a131c54a8ed8fe6835eee0525a1c74d36d8d705b..f25983ce5400460ac6b107e1185c04b935e6d7a3 100755 (executable)
@@ -322,6 +322,7 @@ sub buildrules {
                                                        }
                                                        push(@nat_options, @source_options);
                                                        push(@nat_options, ("-d", $nat_address));
                                                        }
                                                        push(@nat_options, @source_options);
                                                        push(@nat_options, ("-d", $nat_address));
+                                                       push(@nat_options, @time_options);
 
                                                        my $dnat_port;
                                                        if ($protocol_has_ports) {
 
                                                        my $dnat_port;
                                                        if ($protocol_has_ports) {