]> git.ipfire.org Git - thirdparty/libnl.git/commitdiff
link: define RTM_SETLINK to allow pretty printing
authorThomas Graf <tgraf@suug.ch>
Tue, 16 Nov 2010 12:54:54 +0000 (13:54 +0100)
committerThomas Graf <tgraf@suug.ch>
Tue, 16 Nov 2010 12:54:54 +0000 (13:54 +0100)
lib/route/link.c

index 7cca8b40e497049e2213ce55621674fbc1d11587..75b70c3898b8b53e2b14591f736c0ce0b4456812 100644 (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,