diff options
author | Thomas Haller <thaller@redhat.com> | 2023-07-24 14:59:29 (GMT) |
---|---|---|
committer | Thomas Haller <thaller@redhat.com> | 2023-07-24 14:59:39 (GMT) |
commit | e790f8ad15d1051d3f0a6d59e5458bcaab2556f3 (patch) | |
tree | 415f92bad49f03fc1f9658c5b051ac3c22bcc3d3 /lib | |
parent | d83c6d54f2cb59d5a2c1e4b75058339f63e930e9 (diff) | |
download | libnl-e790f8ad15d1051d3f0a6d59e5458bcaab2556f3.zip libnl-e790f8ad15d1051d3f0a6d59e5458bcaab2556f3.tar.gz libnl-e790f8ad15d1051d3f0a6d59e5458bcaab2556f3.tar.bz2 |
route/link: various fixes for rtnl_link_inet6_get_conf() API
Diffstat (limited to 'lib')
-rw-r--r-- | lib/route/link/inet6.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/route/link/inet6.c b/lib/route/link/inet6.c index 280bf54..3575bc0 100644 --- a/lib/route/link/inet6.c +++ b/lib/route/link/inet6.c @@ -702,7 +702,7 @@ int rtnl_link_inet6_set_addr_gen_mode(struct rtnl_link *link, uint8_t mode) * @return -NLE_RANGE cfgid is out of range, 0..DEVCONF_MAX * @return -NLE_NOATTR configuration setting not available */ -int rtnl_link_inet6_get_conf(struct rtnl_link *link, const unsigned int cfgid, +int rtnl_link_inet6_get_conf(struct rtnl_link *link, unsigned int cfgid, uint32_t *res) { struct inet6_data *id; @@ -730,7 +730,7 @@ int rtnl_link_inet6_get_conf(struct rtnl_link *link, const unsigned int cfgid, * @return -NLE_RANGE cfgid is out of range, 0..DEVCONF_MAX * @return -NLE_NOMEM memory allocation failed */ -int rtnl_link_inet6_set_conf(struct rtnl_link *link, const unsigned int cfgid, +int rtnl_link_inet6_set_conf(struct rtnl_link *link, unsigned int cfgid, uint32_t value) { struct inet6_data *id; |