summaryrefslogtreecommitdiff
path: root/src/rtnl.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/rtnl.c')
-rw-r--r--src/rtnl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/rtnl.c b/src/rtnl.c
index 53879d6f..fca9d4fa 100644
--- a/src/rtnl.c
+++ b/src/rtnl.c
@@ -86,7 +86,7 @@ void connman_rtnl_unregister(struct connman_rtnl *rtnl)
g_static_rw_lock_writer_unlock(&rtnl_lock);
}
-static void process_link_flags(int flags)
+static void process_link_flags(int index, int flags)
{
GSList *list;
@@ -207,7 +207,7 @@ static void rtnl_link(struct nlmsghdr *hdr)
}
}
- process_link_flags(msg->ifi_flags);
+ process_link_flags(msg->ifi_index, msg->ifi_flags);
}
static void rtnl_addr(struct nlmsghdr *hdr)