summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2006-01-03 04:52:13 +0000
committerScott Ullrich <sullrich@pfsense.org>2006-01-03 04:52:13 +0000
commite338d310d587b2a6eacfdf65553ac4b076d765ac (patch)
tree512883896c6ef0a8d85f66953db0414ca48cdf39 /etc
parentf5350b1e43d6acbc64e155ae9ad64ad6547d2b63 (diff)
downloadpfsense-e338d310d587b2a6eacfdf65553ac4b076d765ac.zip
pfsense-e338d310d587b2a6eacfdf65553ac4b076d765ac.tar.gz
Pass static-port option
Diffstat (limited to 'etc')
-rw-r--r--etc/inc/filter.inc14
1 files changed, 11 insertions, 3 deletions
diff --git a/etc/inc/filter.inc b/etc/inc/filter.inc
index 14c190a..126de78 100644
--- a/etc/inc/filter.inc
+++ b/etc/inc/filter.inc
@@ -491,9 +491,17 @@ function filter_nat_rules_generate() {
$natif = $wanif;
else
$natif = $config['interfaces'][$obent['interface']]['if'];
-
- $natrules .= filter_nat_rules_generate_if($natif, $src, $obent['sourceport'], $dst, $obent['dstport'], $obent['target'], $obent['natport'],
- isset($obent['nonat']));
+
+ $natrules .= filter_nat_rules_generate_if($natif,
+ $src,
+ $obent['sourceport'],
+ $dst,
+ $obent['dstport'],
+ $obent['target'],
+ $obent['natport'],
+ isset($obent['nonat']),
+ isset($obent['staticnatport'])
+ );
}
}
} else {
OpenPOWER on IntegriCloud