summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorElena Tebesoi <elena.tebesoi@gmail.com>2012-08-10 11:59:02 +0200
committerPatrik Flykt <patrik.flykt@linux.intel.com>2012-08-14 09:02:01 +0300
commitdb3cb9dc705b2db3940ff1b063346270f0b3a5e5 (patch)
treeb12deb10914fbc65acdbdd007b9b29b12ce1bf16 /src
parentd5af2781ec8c11b0964511ee75319e3494f4725a (diff)
downloadconnman-db3cb9dc705b2db3940ff1b063346270f0b3a5e5.tar.gz
connman-db3cb9dc705b2db3940ff1b063346270f0b3a5e5.tar.bz2
connman-db3cb9dc705b2db3940ff1b063346270f0b3a5e5.zip
ipconfig: Allow NULL gateway for IPv6
This patch makes possible configuring a GPRS connection with IPV6 settings and without gateway.
Diffstat (limited to 'src')
-rw-r--r--src/ipconfig.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/ipconfig.c b/src/ipconfig.c
index 36067db2..f7044431 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);