diff options
author | Renato Botelho <renato@netgate.com> | 2017-07-13 15:56:53 -0300 |
---|---|---|
committer | Renato Botelho <renato@netgate.com> | 2017-07-13 15:56:53 -0300 |
commit | 40c09b6dadb04928dc9a279969193b620ff1efad (patch) | |
tree | e082fe446aab0135ec63ad539a3d1e7a11c108ca /src | |
parent | 4541f84d12c86775022b0e49d527d6f4f9a6911f (diff) | |
parent | 5a8a8bbea33ec225414d60dd5abc65a5e39bcde0 (diff) | |
download | pfsense-40c09b6dadb04928dc9a279969193b620ff1efad.zip pfsense-40c09b6dadb04928dc9a279969193b620ff1efad.tar.gz |
Merge pull request #3782 from PiBa-NL/20170712-nat-configure-skip-no-dest
Diffstat (limited to 'src')
-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 |