mirror of
https://github.com/samba-team/samba.git
synced 2025-03-02 08:58:33 +03:00
r12424: static records should not be released
metze (This used to be commit 3f90e72e5a0b839ba16892e8ee8aa46967d081da)
This commit is contained in:
parent
758873b9fb
commit
8b7387ee13
@ -387,6 +387,14 @@ static void nbtd_winsserver_release(struct nbt_name_socket *nbtsock,
|
||||
goto done;
|
||||
}
|
||||
|
||||
if (rec->is_static) {
|
||||
if (rec->type == WREPL_TYPE_UNIQUE || rec->type == WREPL_TYPE_MHOMED) {
|
||||
goto done;
|
||||
}
|
||||
nbtd_name_release_reply(nbtsock, packet, src, NBT_RCODE_ACT);
|
||||
return;
|
||||
}
|
||||
|
||||
if (rec->state != WREPL_STATE_ACTIVE) {
|
||||
goto done;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user