--Bill
On 9/13/05, Ben Browning <[EMAIL PROTECTED]> wrote:
I installed pfSense a few days ago using pfSense-LiveCD-0.84.iso (the
version from 09/11/05).
I've observed this bug also. After examining the source of the file
firewall_shaper_queues_edit.php I came to the following conclusion:
* When using HFSC, the bandwidth input box doesn't appear.
* Because of this, when you press the save button on any HFSC queue,
it clears the bandwidth value of that queue in the config xml file.
* Thus, anytime you press save on a HFSC queue, the bandwidth field
gets blanked.
This is more than just a cosmetic bug. If you ever edit the root
queues, their bandwidth gets set to 0. This bandwidth value is used
when calculating the maximum available bandwidth to give out to the
other queues. So, if I create a queue called qSSHUp under my qWANRoot
(which we'll pretend I have saved since running the wizard, and it now
shows up blank in the bandwidth field) and tell qSSHUp to guarantee a
realtime bandwidth of 32Kb, the traffic shaping rules won't load. It
will complain that there isn't that much bandwidth available to give
out.
To fix this, on line 202 of firewall_shaper_queues_edit.php I changed:
<?php if ($schedulertype == "cbq"): ?>
to
<?php if ($schedulertype == "cbq" or $schedulertype == "hfsc"): ?>
This has solved my disappearing bandwidth-field issue, and now allows
me to modify rules and have them load successfully.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
