]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/commit
BUG11825: firewall: Renaming a network/host group doesn't update rules
authorAlexander Marx <alexander.marx@ipfire.org>
Fri, 24 Aug 2018 08:06:30 +0000 (10:06 +0200)
committerMichael Tremer <michael.tremer@ipfire.org>
Fri, 24 Aug 2018 10:44:45 +0000 (11:44 +0100)
commit2754623fa9842d80cdd8341f06536b0940f4aeea
tree41e0f13169a0c6c38258e3118f125c105ac42840
parentaec1925bea763d7dff55ed43d26bdb06acd2e07c
BUG11825: firewall: Renaming a network/host group doesn't update rules

Code only changed field 6 of hash (target group) and not field 4 (source group).
Also if using geoip it was only field 4 of hash (source group) and not field 6 of hash (target group)
Added new code that changes both fields to reflect the change in the firewallrules immediately.

fixes: #11825

Signed-off-by: Alexander Marx <alexander.marx@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
html/cgi-bin/fwhosts.cgi