[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [tor/master] Get the extend_info_from_router check the right way around



commit 8c2ee16b8f9ea5a9ed424584c3cb758c4e58883c
Author: teor <teor2345@xxxxxxxxx>
Date:   Tue Aug 2 14:28:56 2016 +1000

    Get the extend_info_from_router check the right way around
---
 src/or/router.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/or/router.c b/src/or/router.c
index 009dcdc..bfc2d12 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,

_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits