summaryrefslogtreecommitdiffstats
path: root/src/usr/local/www/firewall_rules_edit.php
diff options
context:
space:
mode:
authorstilez <stilez@users.noreply.github.com>2016-12-28 22:46:20 +0000
committerRenato Botelho <renato@netgate.com>2016-12-30 09:54:04 -0200
commitb66bb3ef023f4024ab7761147ea1f261d8f953b0 (patch)
tree37546f74d35b18b72e7f0fa1c2b08353b11b961b /src/usr/local/www/firewall_rules_edit.php
parenta8235a3dea0c83569c633e4e6e0f7e863894b2ec (diff)
downloadpfsense-b66bb3ef023f4024ab7761147ea1f261d8f953b0.zip
pfsense-b66bb3ef023f4024ab7761147ea1f261d8f953b0.tar.gz
revert protocol order change (unrelated to PR)
Will pu in separate PR afterwards as requested (cherry picked from commit 86554b5aecb1d219e2f72c97b14de8b5fef495aa)
Diffstat (limited to 'src/usr/local/www/firewall_rules_edit.php')
-rw-r--r--src/usr/local/www/firewall_rules_edit.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/usr/local/www/firewall_rules_edit.php b/src/usr/local/www/firewall_rules_edit.php
index 8878a8b..5caf82f 100644
--- a/src/usr/local/www/firewall_rules_edit.php
+++ b/src/usr/local/www/firewall_rules_edit.php
@@ -328,7 +328,6 @@ if (isset($id) && $a_filter[$id]) {
$pconfig['interface'] = $_GET['if'];
}
$pconfig['type'] = "pass";
- $pconfig['proto'] = "tcp"; // ensures port fields visible and default=tcp, for a new rule
$pconfig['src'] = "any";
$pconfig['dst'] = "any";
}
@@ -1300,10 +1299,10 @@ $section->addInput(new Form_Select(
'Protocol',
$pconfig['proto'],
array(
- 'any' => gettext('any'),
'tcp' => 'TCP',
'udp' => 'UDP',
'tcp/udp' => 'TCP/UDP',
+ 'any' => gettext('any'),
'icmp' => 'ICMP',
'esp' => 'ESP',
'ah' => 'AH',
OpenPOWER on IntegriCloud