From 9c9d95dc931d6fb083b229c45bbe49eef6e60791 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Sat, 6 Jun 2015 15:29:30 +0000 Subject: -must avoid returning resolutions during initialization --- src/nat/nat.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/nat') 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, if (NULL != h->address_callback) { - list_interfaces (h, - NULL); + h->ifc_task = GNUNET_SCHEDULER_add_now (&list_interfaces, + h); if (GNUNET_YES == h->use_hostname) h->hostname_task = GNUNET_SCHEDULER_add_now (&resolve_hostname, h); -- cgit v1.2.3