From: Pasi Sjöholm <pasi.sjoh...@jollamobile.com>

Setting up gateway is handled by the kernel
therefore ConnMan does not need to do it
when dhcpv6 is used.

This fixes the issue with IPv6 nameserver host routes
getting added as link-local due the gateway in the
ipconfig was always null.

Reported by Tore Anderson.
---
 src/network.c | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/src/network.c b/src/network.c
index 3a3b852..f61f698 100644
--- a/src/network.c
+++ b/src/network.c
@@ -347,10 +347,6 @@ static int dhcpv6_set_addresses(struct connman_network 
*network)
        if (err < 0)
                goto err;
 
-       err = __connman_ipconfig_gateway_add(ipconfig_ipv6);
-       if (err < 0)
-               goto err;
-
        return 0;
 
 err:
-- 
2.1.0

_______________________________________________
connman mailing list
connman@connman.net
https://lists.connman.net/mailman/listinfo/connman

Reply via email to