firewall: rules.pl: Honour time constraints for NAT rules as well.
[people/teissler/ipfire-2.x.git] / 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) {