diff options
author | Stephen Beaver <sbeaver@netgate.com> | 2015-09-02 11:13:39 -0400 |
---|---|---|
committer | Stephen Beaver <sbeaver@netgate.com> | 2015-09-02 11:13:39 -0400 |
commit | 861cf07b4615edc5eba0469c0edf99912813e85b (patch) | |
tree | 22656ea9c660ed26e7812b97f4d93c9134d3c19e /src/usr/local/www/firewall_rules_edit.php | |
parent | 3605c41bd4abd3c95ed93895266d68d0daccb551 (diff) | |
download | pfsense-861cf07b4615edc5eba0469c0edf99912813e85b.zip pfsense-861cf07b4615edc5eba0469c0edf99912813e85b.tar.gz |
Fixed #5061
I had reveresed 'any' and '(Other)' in the port list :(
Diffstat (limited to 'src/usr/local/www/firewall_rules_edit.php')
-rw-r--r-- | src/usr/local/www/firewall_rules_edit.php | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/src/usr/local/www/firewall_rules_edit.php b/src/usr/local/www/firewall_rules_edit.php index ee339fb..184cadb 100644 --- a/src/usr/local/www/firewall_rules_edit.php +++ b/src/usr/local/www/firewall_rules_edit.php @@ -1294,7 +1294,7 @@ foreach (['src' => 'Source', 'dst' => 'Destination'] as $type => $name) { ))->removeClass('btn-primary'); } - $portValues = ['any' => 'any', '' => '(other)']; + $portValues = ['' => '(other)', 'any' => 'any']; foreach ($wkports as $port => $portName) $portValues[$port] = $portName.' ('. $port .')'; @@ -1477,18 +1477,11 @@ $section->addInput(new Form_Input( ['min' => 1, 'max' => 3600] ))->setHelp('State Timeout in seconds (TCP only)'); -//$form->add($section); -//$section = new Form_Section('TCP Flags'); -//$section->addClass('tcpflags'); - $section->addInput(new Form_StaticText( 'TCP Flags', build_flag_table() ))->setHelp('Use this to choose TCP flags that must be set or cleared for this rule to match.'); -// $form->add($section); -// $section = new Form_Section('State Type'); - $section->addInput(new Form_Checkbox( 'nopfsync', 'No pfSync', |