svn commit: samba r11053 - in branches/SAMBA_4_0/source/nbt_server/wins: .

metze at samba.org metze at samba.org
Fri Oct 14 14:45:29 GMT 2005


Author: metze
Date: 2005-10-14 14:45:28 +0000 (Fri, 14 Oct 2005)
New Revision: 11053

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=11053

Log:
fix the logic,

this should fix make test

metze
Modified:
   branches/SAMBA_4_0/source/nbt_server/wins/winsserver.c


Changeset:
Modified: branches/SAMBA_4_0/source/nbt_server/wins/winsserver.c
===================================================================
--- branches/SAMBA_4_0/source/nbt_server/wins/winsserver.c	2005-10-14 14:02:47 UTC (rev 11052)
+++ branches/SAMBA_4_0/source/nbt_server/wins/winsserver.c	2005-10-14 14:45:28 UTC (rev 11053)
@@ -39,7 +39,7 @@
 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) {



More information about the samba-cvs mailing list