diff options
author | Stephen Beaver <sbeaver@netgate.com> | 2015-11-29 16:55:36 -0500 |
---|---|---|
committer | Stephen Beaver <sbeaver@netgate.com> | 2015-11-29 16:55:36 -0500 |
commit | 0cdfe420e05f6fa40901eb23b2c1c9d50d9b1428 (patch) | |
tree | 5f9a5a367916d1fbdac1db40a004e13111a4fc39 /src/usr/local/www | |
parent | 5fe879bc8afd69cdd0755a47d8b69ab6c9c9852d (diff) | |
download | pfsense-0cdfe420e05f6fa40901eb23b2c1c9d50d9b1428.zip pfsense-0cdfe420e05f6fa40901eb23b2c1c9d50d9b1428.tar.gz |
Fixed #5532
Diffstat (limited to 'src/usr/local/www')
-rw-r--r-- | src/usr/local/www/firewall_rules_edit.php | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/usr/local/www/firewall_rules_edit.php b/src/usr/local/www/firewall_rules_edit.php index 479eaf6..42ad217 100644 --- a/src/usr/local/www/firewall_rules_edit.php +++ b/src/usr/local/www/firewall_rules_edit.php @@ -984,7 +984,7 @@ function build_if_list() { if (is_array($config['ifgroups']['ifgroupentry'])) { foreach ($config['ifgroups']['ifgroupentry'] as $ifgen) { if (have_ruleint_access($ifgen['ifname'])) { - $iflists[$ifgen['ifname']] = $ifgen['ifname']; + $iflist[$ifgen['ifname']] = $ifgen['ifname']; } } } @@ -1098,7 +1098,7 @@ $section->addInput(new Form_Checkbox( if ($if == "FloatingRules" || isset($pconfig['floating'])) { $section->addInput(new Form_Checkbox( - 'floating', + 'quick', 'Quick', 'Apply the action immediately on match.', $pconfig['quick'] @@ -1509,7 +1509,7 @@ $section->addInput(new Form_Checkbox( $section->addInput(new Form_Select( 'statetype', 'State type', - $pconfig['statetype'], + (isset($pconfig['statetype'])) ? "keep state":$pconfig['statetype'], array( 'keep state' => 'Keep', 'sloppy state' => 'Sloppy', @@ -1526,7 +1526,8 @@ $section->addInput(new Form_Checkbox( $pconfig['nosync'] ))->setHelp('This does NOT prevent the rule from being overwritten on Slave.'); -$vlanprio = array("none", "be", "bk", "ee", "ca", "vi", "vo", "ic", "nc"); +$vlanprio = array("" => "none", "be" => "BE", "bk" => "BK", "ee" => "EE", "ca" => "CA", "vi" => "VI", "vo" => "VO", "ic" => "IC", "nc" => "NC"); + $section->addInput(new Form_Select( 'vlanprio', 'VLAN Prio', |