summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCong Wang <xiyou.wangcong@gmail.com>2014-09-23 17:00:06 (GMT)
committerThomas Haller <thaller@redhat.com>2014-09-24 05:50:25 (GMT)
commita2b9f33fd478c864d3c5407c4b142d0e6bba1b43 (patch)
treebb6ce63471f5273bfeef3e71ef12acd1ec5c0e0c
parent1578095b8a096a552fc124ecb232dda59c3d0e6a (diff)
downloadlibnl-a2b9f33fd478c864d3c5407c4b142d0e6bba1b43.zip
libnl-a2b9f33fd478c864d3c5407c4b142d0e6bba1b43.tar.gz
libnl-a2b9f33fd478c864d3c5407c4b142d0e6bba1b43.tar.bz2
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>
-rw-r--r--lib/idiag/idiag_req_obj.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/idiag/idiag_req_obj.c b/lib/idiag/idiag_req_obj.c
index d9dab8e..5d08f32 100644
--- a/lib/idiag/idiag_req_obj.c
+++ b/lib/idiag/idiag_req_obj.c
@@ -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)