summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorteor <teor2345@gmail.com>2016-08-02 14:28:56 +1000
committerteor <teor2345@gmail.com>2016-08-02 14:28:56 +1000
commit8c2ee16b8f9ea5a9ed424584c3cb758c4e58883c (patch)
tree88e0b2e01dfa2a8a7e69712083fc20bbeb4c6e54
parent261f4c3f6f028cf4becff1077c08735e308d7d43 (diff)
downloadtor-8c2ee16b8f9ea5a9ed424584c3cb758c4e58883c.tar.gz
tor-8c2ee16b8f9ea5a9ed424584c3cb758c4e58883c.zip
Get the extend_info_from_router check the right way around
-rw-r--r--src/or/router.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/router.c b/src/or/router.c
index 009dcdc2c6..bfc2d125fb 100644
--- a/src/or/router.c
+++ b/src/or/router.c
@@ -1293,7 +1293,7 @@ extend_info_from_router(const routerinfo_t *r)
tor_assert(r);
/* Make sure we don't need to check address reachability */
- tor_assert_nonfatal(!router_skip_or_reachability(get_options(), 0));
+ tor_assert_nonfatal(router_skip_or_reachability(get_options(), 0));
router_get_prim_orport(r, &ap);
return extend_info_new(r->nickname, r->cache_info.identity_digest,