]> granicus.if.org Git - libnl/commit
route/tc: return error code from rtnl_tc_get_chain()
authorThomas Haller <thaller@redhat.com>
Wed, 10 Oct 2018 09:02:36 +0000 (11:02 +0200)
committerThomas Haller <thaller@redhat.com>
Wed, 10 Oct 2018 09:02:46 +0000 (11:02 +0200)
commita90256de2f97dbd6b9387e52512ef43e109e1503
treeae36529316f7a4f2671b095b9dcdf16d33883d77
parentc9b28170e7199b3ba63a73c7dad7c2eacab46e72
route/tc: return error code from rtnl_tc_get_chain()

Our API is unfortunately not consistent about this.
However, in general, getters should aim to return an
error code whether the attribute could be retrieved.
include/netlink/route/tc.h
lib/route/tc.c