From 991ae7d0d63cf72fb3071a5d6a8112e0bb547127 Mon Sep 17 00:00:00 2001 From: Guus Sliepen Date: Sun, 15 Mar 2020 16:33:46 +0100 Subject: [PATCH] Remove redundant call to add_local_addresses(). --- src/meshlink.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/meshlink.c b/src/meshlink.c index 9f3b6ecd..8513c8f9 100644 --- a/src/meshlink.c +++ b/src/meshlink.c @@ -1161,7 +1161,6 @@ static void *setup_network_in_netns_thread(void *arg) { } bool success = setup_network(mesh); - add_local_addresses(mesh); return success ? arg : NULL; } #endif // HAVE_SETNS @@ -1534,7 +1533,6 @@ meshlink_handle_t *meshlink_open_ex(const meshlink_open_params_t *params) { #endif // HAVE_SETNS } else { success = setup_network(mesh); - add_local_addresses(mesh); } if(!success) { -- 2.39.2