link: define RTM_SETLINK to allow pretty printing

This commit is contained in:
Thomas Graf 2010-11-16 13:54:54 +01:00
parent 2575d03135
commit ee57cc716f

View file

@ -1751,6 +1751,7 @@ static struct nl_cache_ops rtnl_link_ops = {
{ RTM_NEWLINK, NL_ACT_NEW, "new" },
{ RTM_DELLINK, NL_ACT_DEL, "del" },
{ RTM_GETLINK, NL_ACT_GET, "get" },
{ RTM_SETLINK, NL_ACT_CHANGE, "set" },
END_OF_MSGTYPES_LIST,
},
.co_protocol = NETLINK_ROUTE,