diff options
author | Linus Nordberg <linus@nordberg.se> | 2012-05-09 17:58:01 +0200 |
---|---|---|
committer | Linus Nordberg <linus@torproject.org> | 2012-07-19 18:21:20 +0200 |
commit | 4cce8ab742999900a4c5f1f3f8faf13d217014e0 (patch) | |
tree | f891650b4bc6fd3c0f8cb6b2f31590eb16425cc7 /src/or/nodelist.c | |
parent | c1ff07440e67f1ae690acbfceddb6174fdb092df (diff) | |
download | tor-4cce8ab742999900a4c5f1f3f8faf13d217014e0.tar.gz tor-4cce8ab742999900a4c5f1f3f8faf13d217014e0.zip |
Add last_reachable and testing_since for IPv6 OR port.
Diffstat (limited to 'src/or/nodelist.c')
-rw-r--r-- | src/or/nodelist.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/or/nodelist.c b/src/or/nodelist.c index 1e07c82e35..cb94173985 100644 --- a/src/or/nodelist.c +++ b/src/or/nodelist.c @@ -139,8 +139,8 @@ nodelist_replace_routerinfo(routerinfo_t *old, routerinfo_t *new) if (!routers_have_same_or_addr(old, new)) { /* These mustn't carry over when the address and orport change. */ - node->last_reachable = 0; - node->testing_since = 0; + node->last_reachable = node->last_reachable6 = 0; + node->testing_since = node->testing_since6 = 0; } } } else { |