Thread (11 messages) 11 messages, 5 authors, 2017-05-31

Re: [PATCH V6 net-next iproute] ip: Add support for netdev events to monitor

From: David Ahern <hidden>
Date: 2017-05-30 14:22:33

On 5/27/17 8:14 AM, Vladislav Yasevich wrote:
quoted hunk ↗ jump to hunk
diff --git a/ip/ipaddress.c b/ip/ipaddress.c
index b8d9c7d..c6e7413 100644
--- a/ip/ipaddress.c
+++ b/ip/ipaddress.c
@@ -753,6 +753,24 @@ int print_linkinfo_brief(const struct sockaddr_nl *who,
 	return 0;
 }
 
+static const char *netdev_events[] = {"NONE",
I would prefer ifla_events rather than netdev just to reinforce the
separation that an IFLA_EVENT does not necessarily correspond to a
NETDEV event.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help