diff options
author | Stephen Beaver <sbeaver@netgate.com> | 2015-09-15 16:19:09 -0400 |
---|---|---|
committer | Stephen Beaver <sbeaver@netgate.com> | 2015-09-15 16:19:31 -0400 |
commit | 886b12b6f57932f7c1f9339901cbb01b6f548a7a (patch) | |
tree | 8e538b27dd5414e13d478d21d70a67b19c8b1b5f /src/usr/local/www/firewall_rules_edit.php | |
parent | cc38f6993b2e9bd6f72360ee8996eab3b0aa6e9d (diff) | |
download | pfsense-886b12b6f57932f7c1f9339901cbb01b6f548a7a.zip pfsense-886b12b6f57932f7c1f9339901cbb01b6f548a7a.tar.gz |
Fixed #5021
Diffstat (limited to 'src/usr/local/www/firewall_rules_edit.php')
-rw-r--r-- | src/usr/local/www/firewall_rules_edit.php | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/src/usr/local/www/firewall_rules_edit.php b/src/usr/local/www/firewall_rules_edit.php index 5263af6..1630395 100644 --- a/src/usr/local/www/firewall_rules_edit.php +++ b/src/usr/local/www/firewall_rules_edit.php @@ -1581,7 +1581,7 @@ $group->add(new Form_Select( $pconfig['pdnpipe'], array('' => 'none') + array_keys($dnqlist) )); - + $section->add($group)->setHelp('Choose the Out queue/Virtual interface only if '. 'you have also selected In. The Out selection is applied to traffic leaving '. 'the interface where the rule is created, In is applied to traffic coming '. @@ -1593,6 +1593,7 @@ $section->add($group)->setHelp('Choose the Out queue/Virtual interface only if ' $group = new Form_Group('Ackqueue / Queue'); $qlist = array_keys($qlist); + foreach ($qlist as $idx => $q) { if (isset($ifdisp[$q])) @@ -1602,15 +1603,15 @@ foreach ($qlist as $idx => $q) $group->add(new Form_Select( 'ackqueue', 'Ackqueue', - $pconfig['ackqueue'], - $qlist + ($qselected) ? $pconfig['ackqueue']:'', + ['' => 'None'] + $qlist )); $group->add(new Form_Select( 'defaultqueue', 'Default Queue', - $pconfig['defaultqueue'], - $qlist + ($qselected) ? $pconfig['defaultqueue']:'', + ['' => 'None'] + $qlist )); $section->add($group)->setHelp('Choose the Acknowledge Queue only if you have '. |