Loading src/or/connection_edge.c +1 −0 Original line number Diff line number Diff line Loading @@ -3598,3 +3598,4 @@ connection_edge_free_all(void) smartlist_free(pending_entry_connections); pending_entry_connections = NULL; } src/or/policies.c +1 −3 Original line number Diff line number Diff line Loading @@ -901,7 +901,6 @@ addr_policy_append_reject_addr(smartlist_t **dest, const tor_addr_t *addr) smartlist_add(*dest, add); log_debug(LD_CONFIG, "Adding a reject ExitPolicy 'reject %s:*'", fmt_addr(addr)); } /* Is addr public for the purposes of rejection? */ Loading Loading @@ -1309,7 +1308,6 @@ policies_add_outbound_addresses_to_smartlist(smartlist_t *addr_list, } } /** Parse <b>ExitPolicy</b> member of <b>or_options</b> into <b>result</b> * smartlist. * If <b>or_options->IPv6Exit</b> is false, prepend an entry that Loading src/test/test_policy.c +6 −4 Original line number Diff line number Diff line Loading @@ -826,7 +826,8 @@ test_dump_exit_policy_to_string(void *arg) } static routerinfo_t *mock_desc_routerinfo = NULL; static const routerinfo_t *mock_router_get_my_routerinfo(void) static const routerinfo_t * mock_router_get_my_routerinfo(void) { return mock_desc_routerinfo; } Loading Loading @@ -966,7 +967,8 @@ struct testcase_t policy_tests[] = { { "getinfo_helper_policies", test_policies_getinfo_helper_policies, 0, NULL, NULL }, { "reject_exit_address", test_policies_reject_exit_address, 0, NULL, NULL }, { "reject_interface_address", test_policies_reject_interface_address, 0, NULL, NULL }, { "reject_interface_address", test_policies_reject_interface_address, 0, NULL, NULL }, { "reject_port_address", test_policies_reject_port_address, 0, NULL, NULL }, END_OF_TESTCASES }; Loading src/common/compat.c +1 −1 File changed.Contains only whitespace changes. Show changes Loading
src/or/connection_edge.c +1 −0 Original line number Diff line number Diff line Loading @@ -3598,3 +3598,4 @@ connection_edge_free_all(void) smartlist_free(pending_entry_connections); pending_entry_connections = NULL; }
src/or/policies.c +1 −3 Original line number Diff line number Diff line Loading @@ -901,7 +901,6 @@ addr_policy_append_reject_addr(smartlist_t **dest, const tor_addr_t *addr) smartlist_add(*dest, add); log_debug(LD_CONFIG, "Adding a reject ExitPolicy 'reject %s:*'", fmt_addr(addr)); } /* Is addr public for the purposes of rejection? */ Loading Loading @@ -1309,7 +1308,6 @@ policies_add_outbound_addresses_to_smartlist(smartlist_t *addr_list, } } /** Parse <b>ExitPolicy</b> member of <b>or_options</b> into <b>result</b> * smartlist. * If <b>or_options->IPv6Exit</b> is false, prepend an entry that Loading
src/test/test_policy.c +6 −4 Original line number Diff line number Diff line Loading @@ -826,7 +826,8 @@ test_dump_exit_policy_to_string(void *arg) } static routerinfo_t *mock_desc_routerinfo = NULL; static const routerinfo_t *mock_router_get_my_routerinfo(void) static const routerinfo_t * mock_router_get_my_routerinfo(void) { return mock_desc_routerinfo; } Loading Loading @@ -966,7 +967,8 @@ struct testcase_t policy_tests[] = { { "getinfo_helper_policies", test_policies_getinfo_helper_policies, 0, NULL, NULL }, { "reject_exit_address", test_policies_reject_exit_address, 0, NULL, NULL }, { "reject_interface_address", test_policies_reject_interface_address, 0, NULL, NULL }, { "reject_interface_address", test_policies_reject_interface_address, 0, NULL, NULL }, { "reject_port_address", test_policies_reject_port_address, 0, NULL, NULL }, END_OF_TESTCASES }; Loading