summaryrefslogtreecommitdiff
path: root/source4/nbt_server/defense.c
diff options
context:
space:
mode:
Diffstat (limited to 'source4/nbt_server/defense.c')
-rw-r--r--source4/nbt_server/defense.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source4/nbt_server/defense.c b/source4/nbt_server/defense.c
index c59877e4b7..8d71b31c65 100644
--- a/source4/nbt_server/defense.c
+++ b/source4/nbt_server/defense.c
@@ -56,7 +56,8 @@ void nbtd_request_defense(struct nbt_name_socket *nbtsock,
name = &packet->questions[0].name;
iname = nbtd_find_iname(iface, name, NBT_NM_ACTIVE);
- if (iname != NULL && !(iname->nb_flags & NBT_NM_GROUP)) {
+ if (iname != NULL &&
+ !IS_GROUP_NAME(name, iname->nb_flags)) {
DEBUG(2,("Defending name %s on %s against %s\n",
nbt_name_string(packet, name),
iface->bcast_address, src_address));