From 152aa5bd339061d700422d231142179262c2dbeb Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Fri, 14 Oct 2005 14:45:28 +0000 Subject: r11053: fix the logic, this should fix make test metze (This used to be commit c7742a2829d64c3a37cf3361fc66811724282170) --- source4/nbt_server/wins/winsserver.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source4/nbt_server') diff --git a/source4/nbt_server/wins/winsserver.c b/source4/nbt_server/wins/winsserver.c index 38540b87ad..0d91f73eda 100644 --- a/source4/nbt_server/wins/winsserver.c +++ b/source4/nbt_server/wins/winsserver.c @@ -39,7 +39,7 @@ uint32_t wins_server_ttl(struct wins_server *winssrv, uint32_t ttl) static enum wrepl_name_type wrepl_type(uint16_t nb_flags, struct nbt_name *name, BOOL mhomed) { /* this copes with the nasty hack that is the type 0x1c name */ - if (name->type != NBT_NAME_LOGON) { + if (name->type == NBT_NAME_LOGON) { return WREPL_TYPE_SGROUP; } if (nb_flags & NBT_NM_GROUP) { -- cgit