diff options
author | Thomas Graf <tgraf@suug.ch> | 2010-11-16 12:54:54 (GMT) |
---|---|---|
committer | Thomas Graf <tgraf@suug.ch> | 2010-11-16 12:54:54 (GMT) |
commit | ee57cc716f9277fd71669fb148c8fb8580e0180a (patch) | |
tree | 5ba3a92274bf33127b893a6503825853f92a8631 | |
parent | 2575d03135fa44ae08c54e9632bb7bb4fceab190 (diff) | |
download | libnl-ee57cc716f9277fd71669fb148c8fb8580e0180a.zip libnl-ee57cc716f9277fd71669fb148c8fb8580e0180a.tar.gz libnl-ee57cc716f9277fd71669fb148c8fb8580e0180a.tar.bz2 |
link: define RTM_SETLINK to allow pretty printing
-rw-r--r-- | lib/route/link.c | 1 |
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, |