From 2e51b42c2c4b543437fd7b9f7bc93380f7e2cf4e Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Wed, 14 Dec 2005 08:46:52 +0000 Subject: r12229: fix the expire time for released records metze (This used to be commit 6d355a953838bb551b6aef05b2daaeae13682a7b) --- source4/nbt_server/wins/winsserver.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source4/nbt_server/wins') diff --git a/source4/nbt_server/wins/winsserver.c b/source4/nbt_server/wins/winsserver.c index 8ea437f618..caf56a2776 100644 --- a/source4/nbt_server/wins/winsserver.c +++ b/source4/nbt_server/wins/winsserver.c @@ -421,7 +421,7 @@ static void nbtd_winsserver_release(struct nbt_name_socket *nbtsock, } if (rec->state == WREPL_STATE_RELEASED) { - rec->expire_time = winssrv->config.tombstone_interval; + rec->expire_time = time(NULL) + winssrv->config.tombstone_interval; } ret = winsdb_modify(winssrv->wins_db, rec, modify_flags); -- cgit