Explorar o código

Get the extend_info_from_router check the right way around

teor %!s(int64=9) %!d(string=hai) anos
pai
achega
8c2ee16b8f
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/or/router.c

+ 1 - 1
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,