mirror of
https://gitee.com/openharmony/third_party_libnl
synced 2024-11-24 10:39:53 +00:00
idiag: fix a typo in idiagnl_req_set_ifindex()
Signed-off-by: Cong Wang <xiyou.wangcong@gmail.com> Signed-off-by: Thomas Haller <thaller@redhat.com>
This commit is contained in:
parent
1578095b8a
commit
a2b9f33fd4
@ -68,7 +68,7 @@ uint32_t idiagnl_req_get_ifindex(const struct idiagnl_req *req)
|
|||||||
|
|
||||||
void idiagnl_req_set_ifindex(struct idiagnl_req *req, uint32_t ifindex)
|
void idiagnl_req_set_ifindex(struct idiagnl_req *req, uint32_t ifindex)
|
||||||
{
|
{
|
||||||
req->idiag_states = ifindex;
|
req->idiag_ifindex = ifindex;
|
||||||
}
|
}
|
||||||
|
|
||||||
uint32_t idiagnl_req_get_states(const struct idiagnl_req *req)
|
uint32_t idiagnl_req_get_states(const struct idiagnl_req *req)
|
||||||
|
Loading…
Reference in New Issue
Block a user