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:
parent
9a52c24a19
commit
c26d87ea5b
@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user