[PATCH 2/6] fix a bug in rtnl_act_fill()
Cong Wang
xiyou.wangcong at gmail.com
Thu Dec 5 18:48:26 EST 2013
Signed-off-by: Cong Wang <xiyou.wangcong at gmail.com>
---
lib/route/act.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/route/act.c b/lib/route/act.c
index 6b7a615..32613e0 100644
--- a/lib/route/act.c
+++ b/lib/route/act.c
@@ -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;
--
1.8.3.1
More information about the libnl
mailing list