]> git.ipfire.org Git - thirdparty/libnl.git/commitdiff
idiag: fix a typo in idiagnl_req_set_ifindex()
authorCong Wang <xiyou.wangcong@gmail.com>
Tue, 23 Sep 2014 17:00:06 +0000 (10:00 -0700)
committerThomas Haller <thaller@redhat.com>
Wed, 24 Sep 2014 05:50:25 +0000 (07:50 +0200)
Signed-off-by: Cong Wang <xiyou.wangcong@gmail.com>
Signed-off-by: Thomas Haller <thaller@redhat.com>
lib/idiag/idiag_req_obj.c

index d9dab8e89d1708f4ea307ca3a1b6481dc35a47f9..5d08f32c3ffa5362a28505d7a249aab59023e534 100644 (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)