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.