]> git.ipfire.org Git - people/amarx/ipfire-2.x.git/commit
BUG10806: fix wrong customhostgroupcheck BUG10806
authorAlexander Marx <alexander.marx@ipfire.org>
Fri, 16 Oct 2015 06:59:48 +0000 (08:59 +0200)
committerAlexander Marx <alexander.marx@ipfire.org>
Sat, 17 Oct 2015 14:36:24 +0000 (16:36 +0200)
commita682ef30d43ba4484c6b7e46cb7f629ae8c33fb2
tree07d49bde23f989a5875ee771f84528308a2591f1
parent075b6e10db482dd77ec2634f707634e895610941
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>
html/cgi-bin/firewall.cgi