From ee57cc716f9277fd71669fb148c8fb8580e0180a Mon Sep 17 00:00:00 2001 From: Thomas Graf Date: Tue, 16 Nov 2010 13:54:54 +0100 Subject: [PATCH] link: define RTM_SETLINK to allow pretty printing --- lib/route/link.c | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/route/link.c b/lib/route/link.c index 7cca8b4..75b70c3 100644 --- a/lib/route/link.c +++ b/lib/route/link.c @@ -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,