diff options
author | PiBa-NL <pba_2k3@yahoo.com> | 2017-07-12 22:16:34 +0200 |
---|---|---|
committer | PiBa-NL <pba_2k3@yahoo.com> | 2017-07-12 22:16:34 +0200 |
commit | 5a8a8bbea33ec225414d60dd5abc65a5e39bcde0 (patch) | |
tree | b4651c9c83aeb81f89b2c5024c6835f715523f10 /src/etc | |
parent | 2504e3f1bc077eb788a94c9a03ec9a98f28ffcb0 (diff) | |
download | pfsense-5a8a8bbea33ec225414d60dd5abc65a5e39bcde0.zip pfsense-5a8a8bbea33ec225414d60dd5abc65a5e39bcde0.tar.gz |
nat, portforwards should not make up a new destination information when a configured dhcp interface does not currently have an address.
fixes: https://forum.pfsense.org/index.php?topic=127585.msg733528#msg733528
Diffstat (limited to 'src/etc')
-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 |