mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-28 14:23:30 +01:00
Make it compile with VC7. It does not yet link.
svn:r6033
This commit is contained in:
parent
c05b7fbc7a
commit
aa5443551d
@ -1888,8 +1888,10 @@ firewall_is_fascist_or(void)
|
||||
int
|
||||
_fascist_firewall_allows_address(uint32_t addr, uint16_t port, int dir_or_or)
|
||||
{
|
||||
addr_policy_result_t p;
|
||||
|
||||
assert(dir_or_or == 1 || dir_or_or == 2);
|
||||
addr_policy_result_t p = router_compare_addr_to_addr_policy(
|
||||
p = router_compare_addr_to_addr_policy(
|
||||
addr, port, dir_or_or == 1 ?
|
||||
reachable_dir_addr_policy :
|
||||
reachable_or_addr_policy);
|
||||
|
Loading…
Reference in New Issue
Block a user