diff options
-rw-r--r-- | src/etc/inc/filter.inc | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/etc/inc/filter.inc b/src/etc/inc/filter.inc index 87dc10a..472bbb7 100644 --- a/src/etc/inc/filter.inc +++ b/src/etc/inc/filter.inc @@ -2246,10 +2246,6 @@ function filter_nat_rules_generate() { $srcaddr = trim($srcaddr); $dstaddr = trim($dstaddr); - if (!$dstaddr) { - $dstaddr = $FilterIflist[$natif]['ip']; - } - $dstaddr_port = explode(" ", $dstaddr); if (empty($dstaddr_port[0]) || strtolower(trim($dstaddr_port[0])) == "port") { continue; // Skip port forward if no destination address found |