summaryrefslogtreecommitdiff
path: root/src/dhcp.c
diff options
context:
space:
mode:
authorDaniel Wagner <daniel.wagner@bmw-carit.de>2012-08-10 11:58:59 +0200
committerPatrik Flykt <patrik.flykt@linux.intel.com>2012-08-14 08:59:37 +0300
commit152171411d7d9891e1ff6b5683a2e624ea2340cd (patch)
tree3eb3143f772327fb48ad9302126883e43938ed47 /src/dhcp.c
parent9b7c4dccb6496f1acb9ca44026fc9d91eaddf0b5 (diff)
downloadconnman-152171411d7d9891e1ff6b5683a2e624ea2340cd.tar.gz
connman-152171411d7d9891e1ff6b5683a2e624ea2340cd.tar.bz2
connman-152171411d7d9891e1ff6b5683a2e624ea2340cd.zip
service: Allow plugins to lookup services by networks
Diffstat (limited to 'src/dhcp.c')
-rw-r--r--src/dhcp.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/dhcp.c b/src/dhcp.c
index 9d1a95e1..1dbe1baa 100644
--- a/src/dhcp.c
+++ b/src/dhcp.c
@@ -83,7 +83,7 @@ static void dhcp_invalidate(struct connman_dhcp *dhcp, connman_bool_t callback)
if (dhcp == NULL)
return;
- service = __connman_service_lookup_from_network(dhcp->network);
+ service = connman_service_lookup_from_network(dhcp->network);
if (service == NULL)
goto out;
@@ -198,7 +198,7 @@ static void lease_available_cb(GDHCPClient *dhcp_client, gpointer user_data)
DBG("Lease available");
- service = __connman_service_lookup_from_network(dhcp->network);
+ service = connman_service_lookup_from_network(dhcp->network);
if (service == NULL) {
connman_error("Can not lookup service");
return;
@@ -364,7 +364,7 @@ static void ipv4ll_available_cb(GDHCPClient *dhcp_client, gpointer user_data)
DBG("IPV4LL available");
- service = __connman_service_lookup_from_network(dhcp->network);
+ service = connman_service_lookup_from_network(dhcp->network);
if (service == NULL)
return;
@@ -446,7 +446,7 @@ static int dhcp_request(struct connman_dhcp *dhcp)
dhcp->dhcp_client = dhcp_client;
- service = __connman_service_lookup_from_network(dhcp->network);
+ service = connman_service_lookup_from_network(dhcp->network);
ipconfig = __connman_service_get_ip4config(service);
return g_dhcp_client_start(dhcp_client,