return -1;
}
-static void receive_rs_reply(struct nd_router_advert *reply, void *user_data)
+static void receive_rs_reply(struct nd_router_advert *reply,
+ unsigned int length, void *user_data)
{
char *address = user_data;
struct in_addr ip4addr;
- DBG("reply %p address %s", reply, address);
+ DBG("reply %p len %d address %s", reply, length, address);
/* We try to create tunnel if autoconfiguration did not work i.e.,
* we did not receive any reply to router solicitation message.
(a == 172 && (b >= 16 && b <= 31)))
return -1;
- index = connman_ipconfig_get_index(ip4config);
+ index = __connman_ipconfig_get_index(ip4config);
ip_address = g_strdup(address);
tunnel_pending = 1;