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
committerGitHub <noreply@github.com>2016-12-28 22:46:20 +0000
commit86554b5aecb1d219e2f72c97b14de8b5fef495aa (patch)
tree5691874bc4d80a77ada2d5bbb8582264e617f573 /src/usr/local/www/firewall_rules_edit.php
parent202e23a81613c5810679e9b119ad4cc53977dbea (diff)
downloadpfsense-86554b5aecb1d219e2f72c97b14de8b5fef495aa.zip
pfsense-86554b5aecb1d219e2f72c97b14de8b5fef495aa.tar.gz
revert protocol order change (unrelated to PR)
Will pu in separate PR afterwards as requested
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 8eac894..6de6e69 100644
--- a/src/usr/local/www/firewall_rules_edit.php
+++ b/src/usr/local/www/firewall_rules_edit.php
@@ -296,7 +296,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";
}
@@ -1263,10 +1262,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