int connman_iface_get_ipv4(struct connman_iface *iface,
struct connman_ipv4 *ipv4)
{
+#if 0
struct {
struct nlmsghdr hdr;
struct rtgenmsg msg;
req.msg.rtgen_family = AF_INET;
__connman_rtnl_send(&req, sizeof(req));
+#endif
return 0;
}
memset(&addr, 0, sizeof(addr));
addr.nl_family = AF_NETLINK;
- addr.nl_groups = RTMGRP_LINK | RTMGRP_IPV4_IFADDR;
+ addr.nl_groups = RTMGRP_LINK;
+ //addr.nl_groups = RTMGRP_LINK | RTMGRP_IPV4_IFADDR;
//addr.nl_groups = RTMGRP_LINK | RTMGRP_IPV4_IFADDR | RTMGRP_IPV4_ROUTE;
if (bind(sk, (struct sockaddr *) &addr, sizeof(addr)) < 0) {