diff options
author | Andrew Tridgell <tridge@samba.org> | 1996-08-20 16:43:11 +0000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 1996-08-20 16:43:11 +0000 |
commit | c26d87ea5b208b58eeefc8141df0188caf86f918 (patch) | |
tree | c1dcaa6922f20a79b395a95769260088bc93b7f2 | |
parent | 9a52c24a1911d0edced7f77461b5ff37e63577d6 (diff) | |
download | samba-c26d87ea5b208b58eeefc8141df0188caf86f918.tar.gz samba-c26d87ea5b208b58eeefc8141df0188caf86f918.tar.bz2 samba-c26d87ea5b208b58eeefc8141df0188caf86f918.zip |
give names more time when refreshing
(This used to be commit ee7d8f7570ab9154b5f7d39dedf47232062c14d7)
-rw-r--r-- | source3/nameserv.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source3/nameserv.c b/source3/nameserv.c index d3aed24ab1..8831cb510f 100644 --- a/source3/nameserv.c +++ b/source3/nameserv.c @@ -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); } } } |