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 | ee7d8f7570ab9154b5f7d39dedf47232062c14d7 (patch) | |
tree | 5bcccd40b3793a1344d7a459fd561ef58dfc1ca7 | |
parent | e1d5205595eec8dcfe2b32e0e31722a902e0ed05 (diff) | |
download | samba-ee7d8f7570ab9154b5f7d39dedf47232062c14d7.tar.gz |
give names more time when refreshing
-rw-r--r-- | source/nameserv.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source/nameserv.c b/source/nameserv.c index d3aed24ab12..8831cb510f1 100644 --- a/source/nameserv.c +++ b/source/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); } } } |