From: Elena Tebesoi <elena.tebe...@gmail.com> IPv4 ipconfig structure is already obtained outside 'if' statement. --- src/network.c | 2 -- 1 files changed, 0 insertions(+), 2 deletions(-)
diff --git a/src/network.c b/src/network.c index 6fe1d9c..5bd1502 100644 --- a/src/network.c +++ b/src/network.c @@ -474,8 +474,6 @@ void connman_network_set_index(struct connman_network *network, int index) service, ipconfig); if (network->index < 0 && ipconfig == NULL) { - - ipconfig = __connman_service_get_ip4config(service); if (ipconfig == NULL) /* * This is needed for plugins that havent set their -- 1.7.5.4 _______________________________________________ connman mailing list connman@connman.net http://lists.connman.net/listinfo/connman