mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-12-06 19:41:15 +01:00
fixup! Extract node_t into its own header.
This commit is contained in:
+2
-1
@@ -638,7 +638,8 @@ nodelist_set_consensus(networkstatus_t *ns)
|
||||
/** Return 1 iff <b>node</b> has Exit flag and no BadExit flag.
|
||||
* Otherwise, return 0.
|
||||
*/
|
||||
int node_is_good_exit(const node_t *node)
|
||||
int
|
||||
node_is_good_exit(const node_t *node)
|
||||
{
|
||||
return node->is_exit && ! node->is_bad_exit;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user