diff options
author | Ermal <eri@pfsense.org> | 2011-03-02 14:07:57 +0000 |
---|---|---|
committer | Ermal <eri@pfsense.org> | 2011-03-02 14:09:10 +0000 |
commit | 199791f965b924db4a22e83695103cfd85c54bd3 (patch) | |
tree | b6ff9d1680aa01685a9ed8b9bb04b96f8289cf68 /usr/local/www/firewall_rules_edit.php | |
parent | 93c1127fd84ee4c7ced02dcdee39db3eb93612f1 (diff) | |
download | pfsense-199791f965b924db4a22e83695103cfd85c54bd3.zip pfsense-199791f965b924db4a22e83695103cfd85c54bd3.tar.gz |
Show friendly names of interface for root queues of ALTQ.
Diffstat (limited to 'usr/local/www/firewall_rules_edit.php')
-rwxr-xr-x | usr/local/www/firewall_rules_edit.php | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/usr/local/www/firewall_rules_edit.php b/usr/local/www/firewall_rules_edit.php index 679e6ca..29b0336 100755 --- a/usr/local/www/firewall_rules_edit.php +++ b/usr/local/www/firewall_rules_edit.php @@ -1319,7 +1319,10 @@ include("head.inc"); $qselected = 1; echo " SELECTED"; } - echo ">{$q}</option>"; + if (isset($ifdisp[$q])) + echo ">{$ifdisp[$q]}</option>"; + else + echo ">{$q}</option>"; } ?> </select> / @@ -1337,7 +1340,10 @@ include("head.inc"); $qselected = 1; echo " SELECTED"; } - echo ">{$q}</option>"; + if (isset($ifdisp[$q])) + echo ">{$ifdisp[$q]}</option>"; + else + echo ">{$q}</option>"; } ?> </select> |