diff options
author | Stefan Metzmacher <metze@samba.org> | 2005-12-14 08:46:52 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:47:22 -0500 |
commit | 2e51b42c2c4b543437fd7b9f7bc93380f7e2cf4e (patch) | |
tree | 1b81e0f5e711bf2542f184de1f0641a4eb068fe7 | |
parent | 2759fc850b8cf5f58207b642e0d2d922d884a813 (diff) | |
download | samba-2e51b42c2c4b543437fd7b9f7bc93380f7e2cf4e.tar.gz samba-2e51b42c2c4b543437fd7b9f7bc93380f7e2cf4e.tar.bz2 samba-2e51b42c2c4b543437fd7b9f7bc93380f7e2cf4e.zip |
r12229: fix the expire time for released records
metze
(This used to be commit 6d355a953838bb551b6aef05b2daaeae13682a7b)
-rw-r--r-- | source4/nbt_server/wins/winsserver.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); |