r12428: releases on 0x1D names are ignored
authorStefan Metzmacher <metze@samba.org>
Thu, 22 Dec 2005 09:37:21 +0000 (09:37 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 18:47:37 +0000 (13:47 -0500)
metze

source/nbt_server/wins/winsserver.c

index 9bbd8c643202322ded37db4b8dd83dd35d9d0b3d..78bf0bd1414c1d7dbd261d6af9b5f9e30f39e580 100644 (file)
@@ -395,6 +395,10 @@ static void nbtd_winsserver_release(struct nbt_name_socket *nbtsock,
        uint32_t modify_flags = 0;
        uint8_t ret;
 
+       if (name->type == NBT_NAME_MASTER) {
+               goto done;
+       }
+
        status = winsdb_lookup(winssrv->wins_db, name, packet, &rec);
        if (!NT_STATUS_IS_OK(status)) {
                goto done;