summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorStephen Beaver <sbeaver@netgate.com>2015-09-02 11:13:39 -0400
committerStephen Beaver <sbeaver@netgate.com>2015-09-02 11:13:39 -0400
commit861cf07b4615edc5eba0469c0edf99912813e85b (patch)
tree22656ea9c660ed26e7812b97f4d93c9134d3c19e /src
parent3605c41bd4abd3c95ed93895266d68d0daccb551 (diff)
downloadpfsense-861cf07b4615edc5eba0469c0edf99912813e85b.zip
pfsense-861cf07b4615edc5eba0469c0edf99912813e85b.tar.gz
Fixed #5061
I had reveresed 'any' and '(Other)' in the port list :(
Diffstat (limited to 'src')
-rw-r--r--src/usr/local/www/firewall_rules_edit.php9
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',
OpenPOWER on IntegriCloud