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:
Cong Wang 2014-09-23 10:00:06 -07:00 committed by Thomas Haller
parent 1578095b8a
commit a2b9f33fd4

View File

@ -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)