diff options
-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); |