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
From: David Ahern <hidden>
Date: 2017-05-30 14:22:33
On 5/27/17 8:14 AM, Vladislav Yasevich wrote:
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.