1
0
mirror of https://github.com/samba-team/samba.git synced 2025-03-02 08:58:33 +03:00

r11053: fix the logic,

this should fix make test

metze
(This used to be commit c7742a2829d64c3a37cf3361fc66811724282170)
This commit is contained in:
Stefan Metzmacher 2005-10-14 14:45:28 +00:00 committed by Gerald (Jerry) Carter
parent cffd522b5c
commit 152aa5bd33

View File

@ -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) {