Bug #11353
closedChanging of gateway order in gateway groups is not applied to firewall rules on "Apply"
0%
Description
Suppose you have gateway group with two gateways: GW1 = Tier1, GW2 = Tier2.
Then you change order: GW1 = Tier2, GW2 = Tier1 and click "Apply".
But changes are not applied to /tmp/rules.debug. If I run /etc/rc.filter_configure manually afterward, then changes are applied.
As a temporary fix I've modified /usr/local/www/system_gateway_groups.php :
if ($_POST['apply'])
{
....
$retval |= filter_configure(); //this line was added to fix problem
}
Updated by Jim Pingle almost 4 years ago
- Status changed from New to Not a Bug
I can't replicate this on 2.5.0. Might have been fixed since 2.4.5.
The apply process already performs a filter reload using the send_multiple_events()
function on the line just below system_routing_configure()
. Since that is performed using the event system, it can take a few moments for it to come into effect, it won't be immediate.