diff options
author | Christian Grothoff <christian@grothoff.org> | 2015-06-06 15:29:30 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2015-06-06 15:29:30 +0000 |
commit | 9c9d95dc931d6fb083b229c45bbe49eef6e60791 (patch) | |
tree | 8098a1491cee4bd8f55753b5d79da6970f02d544 /src/nat/nat.c | |
parent | 151b983cd0f97565a8107c781745630f52a3aaf5 (diff) | |
download | gnunet-9c9d95dc931d6fb083b229c45bbe49eef6e60791.tar.gz gnunet-9c9d95dc931d6fb083b229c45bbe49eef6e60791.zip |
-must avoid returning resolutions during initialization
Diffstat (limited to 'src/nat/nat.c')
-rw-r--r-- | src/nat/nat.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nat/nat.c b/src/nat/nat.c index 79088a182..85b55138d 100644 --- a/src/nat/nat.c +++ b/src/nat/nat.c | |||
@@ -1337,8 +1337,8 @@ GNUNET_NAT_register (const struct GNUNET_CONFIGURATION_Handle *cfg, | |||
1337 | 1337 | ||
1338 | if (NULL != h->address_callback) | 1338 | if (NULL != h->address_callback) |
1339 | { | 1339 | { |
1340 | list_interfaces (h, | 1340 | h->ifc_task = GNUNET_SCHEDULER_add_now (&list_interfaces, |
1341 | NULL); | 1341 | h); |
1342 | if (GNUNET_YES == h->use_hostname) | 1342 | if (GNUNET_YES == h->use_hostname) |
1343 | h->hostname_task = GNUNET_SCHEDULER_add_now (&resolve_hostname, | 1343 | h->hostname_task = GNUNET_SCHEDULER_add_now (&resolve_hostname, |
1344 | h); | 1344 | h); |