fix a bug in rtnl_act_fill()
Signed-off-by: Cong Wang <xiyou.wangcong@gmail.com> Signed-off-by: Thomas Graf <tgraf@suug.ch>
This commit is contained in:
parent
2b7d1d5ab5
commit
b5309e1ea4
1 changed files with 1 additions and 1 deletions
|
@ -97,7 +97,7 @@ int rtnl_act_fill(struct nl_msg *msg, int attrtype, struct rtnl_act *act)
|
|||
return -NLE_MSGSIZE;
|
||||
|
||||
while (p_act) {
|
||||
err = rtnl_act_fill_one(msg, act, ++order);
|
||||
err = rtnl_act_fill_one(msg, p_act, ++order);
|
||||
if (err)
|
||||
return err;
|
||||
p_act = p_act->a_next;
|
||||
|
|
Loading…
Add table
Reference in a new issue