From: Elena Tebesoi Date: Fri, 10 Aug 2012 09:59:02 +0000 (+0200) Subject: ipconfig: Allow NULL gateway for IPv6 X-Git-Tag: 1.5~19 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=db3cb9dc705b2db3940ff1b063346270f0b3a5e5;p=platform%2Fupstream%2Fconnman.git ipconfig: Allow NULL gateway for IPv6 This patch makes possible configuring a GPRS connection with IPV6 settings and without gateway. --- diff --git a/src/ipconfig.c b/src/ipconfig.c index 36067db..f704443 100644 --- a/src/ipconfig.c +++ b/src/ipconfig.c @@ -169,9 +169,6 @@ int connman_ipaddress_set_ipv6(struct connman_ipaddress *ipaddress, if (check_ipv6_address(address) == FALSE) return -EINVAL; - if (check_ipv6_address(gateway) == FALSE) - return -EINVAL; - DBG("prefix_len %d address %s gateway %s", prefix_length, address, gateway);