summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2005-10-14 14:45:28 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:44:43 -0500
commit152aa5bd339061d700422d231142179262c2dbeb (patch)
tree9059326648737eec4110dab9cdf524b1fd2cb0b9 /source4
parentcffd522b5c806508dfacfb10234e4c0a115c0a98 (diff)
downloadsamba-152aa5bd339061d700422d231142179262c2dbeb.tar.gz
samba-152aa5bd339061d700422d231142179262c2dbeb.tar.bz2
samba-152aa5bd339061d700422d231142179262c2dbeb.zip
r11053: fix the logic,
this should fix make test metze (This used to be commit c7742a2829d64c3a37cf3361fc66811724282170)
Diffstat (limited to 'source4')
-rw-r--r--source4/nbt_server/wins/winsserver.c2
1 files changed, 1 insertions, 1 deletions
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) {