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
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
{
|
||||
req->idiag_states = ifindex;
|
||||
req->idiag_ifindex = ifindex;
|
||||
}
|
||||
|
||||
uint32_t idiagnl_req_get_states(const struct idiagnl_req *req)
|
||||
|
|
Loading…
Add table
Reference in a new issue