summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPatrik Flykt <patrik.flykt@linux.intel.com>2013-05-24 11:38:01 (GMT)
committerPatrik Flykt <patrik.flykt@linux.intel.com>2013-05-24 13:05:15 (GMT)
commit79e3ee29897214150ca8fb4e4a9caaaa867c7c94 (patch)
treef5427f3224dc3ccb794e7c77d66965537eca9517 /src
parent5b2bf526174ae44288cbaee5c410ffda02a9aa58 (diff)
downloadconnman-79e3ee29897214150ca8fb4e4a9caaaa867c7c94.zip
connman-79e3ee29897214150ca8fb4e4a9caaaa867c7c94.tar.gz
connman-79e3ee29897214150ca8fb4e4a9caaaa867c7c94.tar.bz2
ipconfig: Use system set addresses for IPv4 property in 'manual' mode
Addresses and gateway for the service IPv4 property being used in the system are available from ipconfig->system when the property is set to 'manual'.
Diffstat (limited to 'src')
-rw-r--r--src/ipconfig.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ipconfig.c b/src/ipconfig.c
index 9de73aa..694cc61 100644
--- a/src/ipconfig.c
+++ b/src/ipconfig.c
@@ -1761,10 +1761,10 @@ void __connman_ipconfig_append_ipv4(struct connman_ipconfig *ipconfig,
return;
case CONNMAN_IPCONFIG_METHOD_FIXED:
- case CONNMAN_IPCONFIG_METHOD_MANUAL:
append_addr = ipconfig->address;
break;
+ case CONNMAN_IPCONFIG_METHOD_MANUAL:
case CONNMAN_IPCONFIG_METHOD_DHCP:
append_addr = ipconfig->system;
break;