]> git.ipfire.org Git - ipfire-2.x.git/commit
BUG10806: fix wrong customhostgroupcheck
authorAlexander Marx <alexander.marx@ipfire.org>
Sat, 17 Oct 2015 16:32:10 +0000 (18:32 +0200)
committerMichael Tremer <michael.tremer@ipfire.org>
Sun, 18 Oct 2015 18:18:59 +0000 (19:18 +0100)
commit8b7417c50b8d3de46003bd40d779bef222dc4171
tree8346fb869cb1f0e4dad6cd2249d25ff84975f59f
parent924f5d6f1aa07d92f3a946e29f4208593a0fe4d2
BUG10806: fix wrong customhostgroupcheck

The function to check for valid hostgroup entries not only
checked the target hostgroup but also the source hostgroup if any.
This lead to the error.
Now the check only affects target hostgroups because it does not matter if a sourcegroup contains mac addresses.

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