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)