aboutsummaryrefslogtreecommitdiff
path: root/src/or/main.c
diff options
context:
space:
mode:
authorGeorge Kadianakis <desnacked@riseup.net>2012-06-07 19:20:36 +0300
committerGeorge Kadianakis <desnacked@riseup.net>2012-09-05 18:08:18 +0300
commitda16c425ef8c17a753ae0abc3fdb26a328004062 (patch)
treeca4cb298c5393740d44dd616cd4ef5b7c86d7309 /src/or/main.c
parentcd05f35d2cdf50d31108428cf5c19549d468dbc0 (diff)
downloadtor-da16c425ef8c17a753ae0abc3fdb26a328004062.tar.gz
tor-da16c425ef8c17a753ae0abc3fdb26a328004062.zip
Start passing ports to tor_check_port_forwarding().
Conflicts: src/or/transports.c
Diffstat (limited to 'src/or/main.c')
-rw-r--r--src/or/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/main.c b/src/or/main.c
index 7b750ba753..75a6d65410 100644
--- a/src/or/main.c
+++ b/src/or/main.c
@@ -1547,7 +1547,7 @@ run_scheduled_events(time_t now)
options->PortForwarding &&
is_server) {
#define PORT_FORWARDING_CHECK_INTERVAL 5
- smartlist_t *ports_to_forward = NULL;//get_list_of_ports_to_forward();
+ smartlist_t *ports_to_forward = get_list_of_ports_to_forward();
if (ports_to_forward) {
tor_check_port_forwarding(options->PortForwardingHelper,
ports_to_forward,