summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source4/nbt_server/wins/winsserver.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/source4/nbt_server/wins/winsserver.c b/source4/nbt_server/wins/winsserver.c
index abfb714e41..5470a38c97 100644
--- a/source4/nbt_server/wins/winsserver.c
+++ b/source4/nbt_server/wins/winsserver.c
@@ -24,6 +24,7 @@
#include "nbt_server/nbt_server.h"
#include "nbt_server/wins/winsdb.h"
#include "system/time.h"
+#include "smbd/service_task.h"
/*
work out the ttl we will use given a client requested ttl
@@ -281,5 +282,7 @@ NTSTATUS nbtd_winsserver_init(struct nbtd_server *nbtsrv)
nbtsrv->winssrv->min_version = 0;
nbtsrv->winssrv->max_version = 0;
+ irpc_add_name(nbtsrv->task->msg_ctx, "wins_server");
+
return winsdb_init(nbtsrv->winssrv);
}