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:
Cong Wang 2013-12-05 15:48:26 -08:00 committed by Thomas Graf
parent 2b7d1d5ab5
commit b5309e1ea4

View file

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