summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Graf <tgraf@suug.ch>2010-11-16 13:54:54 +0100
committerThomas Graf <tgraf@suug.ch>2010-11-16 13:54:54 +0100
commitee57cc716f9277fd71669fb148c8fb8580e0180a (patch)
tree5ba3a92274bf33127b893a6503825853f92a8631
parent2575d03135fa44ae08c54e9632bb7bb4fceab190 (diff)
downloadlibnl-ee57cc716f9277fd71669fb148c8fb8580e0180a.tar.gz
link: define RTM_SETLINK to allow pretty printing
-rw-r--r--lib/route/link.c1
1 files changed, 1 insertions, 0 deletions
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,