summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorYu A Wang <yu.a.wang@intel.com>2011-10-09 21:44:51 -0400
committerSamuel Ortiz <sameo@linux.intel.com>2011-10-10 18:31:09 +0200
commitb4123004a5b6a47c196095ed16e07f638ad0a9bc (patch)
treec1e7486cde6a23b982a1734f8311122109d3ba88 /src
parent5664c08034be1caae6ec91164b967de350be5d5d (diff)
downloadconnman-b4123004a5b6a47c196095ed16e07f638ad0a9bc.tar.gz
connman-b4123004a5b6a47c196095ed16e07f638ad0a9bc.tar.bz2
connman-b4123004a5b6a47c196095ed16e07f638ad0a9bc.zip
service: Load ipconfig according to service identifier
We have seperate the storage file to different directories according to service identifier, then we need to load it according to service identifier too. Fixes BMC#23475
Diffstat (limited to 'src')
-rw-r--r--src/service.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/service.c b/src/service.c
index 1b95995c..dc890785 100644
--- a/src/service.c
+++ b/src/service.c
@@ -5120,7 +5120,7 @@ void __connman_service_read_ip4config(struct connman_service *service)
if (service->ipconfig_ipv4 == NULL)
return;
- keyfile = __connman_storage_load_global();
+ keyfile = connman_storage_load_service(service->identifier);
if (keyfile == NULL)
return;