1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-11 05:18:09 +03:00

give names more time when refreshing

(This used to be commit ee7d8f7570)
This commit is contained in:
Andrew Tridgell 1996-08-20 16:43:11 +00:00
parent 9a52c24a19
commit c26d87ea5b

View File

@ -257,6 +257,9 @@ void refresh_my_names(time_t t)
{
add_my_name_entry(d,n->name.name,n->name.name_type,
n->ip_flgs[0].nb_flags);
/* they get a new lease on life :-) */
n->death_time += GET_TTL(0);
n->refresh_time += GET_TTL(0);
}
}
}