diff options
author | stilez <stilez@users.noreply.github.com> | 2016-12-28 22:46:20 +0000 |
---|---|---|
committer | Renato Botelho <renato@netgate.com> | 2016-12-30 09:54:04 -0200 |
commit | b66bb3ef023f4024ab7761147ea1f261d8f953b0 (patch) | |
tree | 37546f74d35b18b72e7f0fa1c2b08353b11b961b /src | |
parent | a8235a3dea0c83569c633e4e6e0f7e863894b2ec (diff) | |
download | pfsense-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')
-rw-r--r-- | src/usr/local/www/firewall_rules_edit.php | 3 |
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', |