diff options
author | Andrew Tridgell <tridge@samba.org> | 2005-02-15 11:14:04 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:10:43 -0500 |
commit | 39713c703daa75becef7ae30da6930d80216e29c (patch) | |
tree | f63e4d9b245a2327be0999f06e22b2f3bfc06c80 /source4/nbt_server/defense.c | |
parent | 6d17fc3b3e09b15c4a0fa4595ca8d60f426f0243 (diff) | |
download | samba-39713c703daa75becef7ae30da6930d80216e29c.tar.gz samba-39713c703daa75becef7ae30da6930d80216e29c.tar.bz2 samba-39713c703daa75becef7ae30da6930d80216e29c.zip |
r5408: - added testing for the behaviour of the special 0x1c name
- added WINS server support for the 0x1c name
(This used to be commit 1558a545285ae0432c70e0a3e2b132a5132e7b3b)
Diffstat (limited to 'source4/nbt_server/defense.c')
-rw-r--r-- | source4/nbt_server/defense.c | 3 |
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)); |