Project

General

Profile

Actions

Bug #11353

closed

Changing of gateway order in gateway groups is not applied to firewall rules on "Apply"

Added by Alexey Ab almost 4 years ago. Updated almost 4 years ago.

Status:
Not a Bug
Priority:
Normal
Assignee:
-
Category:
Gateways
Target version:
-
Start date:
02/01/2021
Due date:
% Done:

0%

Estimated time:
Plus Target Version:
Release Notes:
Affected Version:
2.4.5-p1
Affected Architecture:
amd64

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
}

Actions

Also available in: Atom PDF