diff options
author | Andrew Tridgell <tridge@samba.org> | 2005-07-19 09:28:46 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:29:42 -0500 |
commit | ab9cef60a0e655b60bdeade4c8022f04a69de0f8 (patch) | |
tree | 4e30166aded5eb96593b4c023a2725210caa7487 /source4/nbt_server/wins/winsserver.c | |
parent | 7ee2babcfe2ffb956a9013a2364c038021b77ae3 (diff) | |
download | samba-ab9cef60a0e655b60bdeade4c8022f04a69de0f8.tar.gz samba-ab9cef60a0e655b60bdeade4c8022f04a69de0f8.tar.bz2 samba-ab9cef60a0e655b60bdeade4c8022f04a69de0f8.zip |
r8588: register wins server with irpc
(This used to be commit dc0ea36344c8eeeff0aa1afa01202fe1f477d307)
Diffstat (limited to 'source4/nbt_server/wins/winsserver.c')
-rw-r--r-- | source4/nbt_server/wins/winsserver.c | 3 |
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); } |