projects
/
openvswitch
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
vlog: Generate vlog-modules.def automatically.
[openvswitch]
/
lib
/
rtnetlink.c
diff --git
a/lib/rtnetlink.c
b/lib/rtnetlink.c
index f5a6df8a1e5b6f05ba0148210d90395af21deca5..bce95ce508ba02ab6825b172447f563f7d294d75 100644
(file)
--- a/
lib/rtnetlink.c
+++ b/
lib/rtnetlink.c
@@
-29,7
+29,7
@@
#include "ofpbuf.h"
#include "vlog.h"
#include "ofpbuf.h"
#include "vlog.h"
-VLOG_DEFINE_THIS_MODULE(rtnetlink)
+VLOG_DEFINE_THIS_MODULE(rtnetlink)
;
/* rtnetlink socket. */
static struct nl_sock *notify_sock;
/* rtnetlink socket. */
static struct nl_sock *notify_sock;
@@
-166,8
+166,7
@@
rtnetlink_report_change(const struct nlmsghdr *nlmsg,
change.master_ifindex = (attrs[IFLA_MASTER]
? nl_attr_get_u32(attrs[IFLA_MASTER]) : 0);
change.master_ifindex = (attrs[IFLA_MASTER]
? nl_attr_get_u32(attrs[IFLA_MASTER]) : 0);
- LIST_FOR_EACH (notifier, struct rtnetlink_notifier, node,
- &all_notifiers) {
+ LIST_FOR_EACH (notifier, node, &all_notifiers) {
notifier->cb(&change, notifier->aux);
}
}
notifier->cb(&change, notifier->aux);
}
}
@@
-177,8
+176,7
@@
rtnetlink_report_notify_error(void)
{
struct rtnetlink_notifier *notifier;
{
struct rtnetlink_notifier *notifier;
- LIST_FOR_EACH (notifier, struct rtnetlink_notifier, node,
- &all_notifiers) {
+ LIST_FOR_EACH (notifier, node, &all_notifiers) {
notifier->cb(NULL, notifier->aux);
}
}
notifier->cb(NULL, notifier->aux);
}
}