diff options
author | Phil Davis <phil.davis@inf.org> | 2015-10-27 10:05:12 +0545 |
---|---|---|
committer | Phil Davis <phil.davis@inf.org> | 2015-10-27 10:05:12 +0545 |
commit | 62eed5f51c4956687899f68ff496b3f887826e62 (patch) | |
tree | c04975de9b10086b725855655ed4df8dbe213b85 /src/usr/local/www/firewall_nat_out_edit.php | |
parent | fc8b158f86c6324a22661f86e06e1734908a34de (diff) | |
download | pfsense-62eed5f51c4956687899f68ff496b3f887826e62.zip pfsense-62eed5f51c4956687899f68ff496b3f887826e62.tar.gz |
Fix source type on edit of NAT outbound rule
Redmine #5347 part (1)
Diffstat (limited to 'src/usr/local/www/firewall_nat_out_edit.php')
-rw-r--r-- | src/usr/local/www/firewall_nat_out_edit.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/usr/local/www/firewall_nat_out_edit.php b/src/usr/local/www/firewall_nat_out_edit.php index afb0648..5147f64 100644 --- a/src/usr/local/www/firewall_nat_out_edit.php +++ b/src/usr/local/www/firewall_nat_out_edit.php @@ -505,7 +505,7 @@ $group = new Form_Group('Source'); $group->add(new Form_Select( 'source_type', null, - $pconfig['source_type'], + (($pconfig['source'] == "any") || ($pconfig['source'] == "(self)")) ? $pconfig['source'] : "network", array('any' => 'Any', '(self)' => 'This Firewall (self)', 'network' => 'Network') ))->setHelp('Type')->setWidth('3'); |