projects
/
profile
/
ivi
/
connman.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
31d8cfc
)
Fix forgotten index parameter
author
Marcel Holtmann
<marcel@holtmann.org>
Tue, 14 Oct 2008 11:48:57 +0000
(13:48 +0200)
committer
Marcel Holtmann
<marcel@holtmann.org>
Tue, 14 Oct 2008 11:48:57 +0000
(13:48 +0200)
src/rtnl.c
patch
|
blob
|
history
diff --git
a/src/rtnl.c
b/src/rtnl.c
index
53879d6
..
fca9d4f
100644
(file)
--- 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)