---
src/dhcp.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/dhcp.c b/src/dhcp.c
index 3425b6d..c0455c8 100644
--- a/src/dhcp.c
+++ b/src/dhcp.c
@@ -396,13 +396,13 @@ static int dhcp_request(struct connman_dhcp *dhcp)
GDHCPClient *dhcp_client;
GDHCPClientError error;
const char *hostname;
- int index;
+ int ifindex;
DBG("dhcp %p", dhcp);
- index = connman_network_get_index(dhcp->network);
+ ifindex = connman_network_get_index(dhcp->network);
- dhcp_client = g_dhcp_client_new(G_DHCP_IPV4, index, &error);
+ dhcp_client = g_dhcp_client_new(G_DHCP_IPV4, ifindex, &error);
if (error != G_DHCP_CLIENT_ERROR_NONE)
return -EINVAL;
--
1.7.9.5
_______________________________________________
connman mailing list
[email protected]
http://lists.connman.net/listinfo/connman