---
 gweb/gresolv.c |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/gweb/gresolv.c b/gweb/gresolv.c
index e93bf4f..c79c06c 100644
--- a/gweb/gresolv.c
+++ b/gweb/gresolv.c
@@ -806,11 +806,11 @@ static int connect_udp_channel(struct resolv_nameserver 
*nameserver)
        return 0;
 }
 
-GResolv *g_resolv_new(int index)
+GResolv *g_resolv_new(int ifindex)
 {
        GResolv *resolv;
 
-       if (index < 0)
+       if (ifindex < 0)
                return NULL;
 
        resolv = g_try_new0(GResolv, 1);
@@ -836,7 +836,7 @@ GResolv *g_resolv_new(int index)
                return NULL;
        }
 
-       resolv->index = index;
+       resolv->index = ifindex;
        resolv->nameserver_list = NULL;
 
        res_ninit(&resolv->res);
-- 
1.7.9.5

_______________________________________________
connman mailing list
[email protected]
http://lists.connman.net/listinfo/connman

Reply via email to