summaryrefslogtreecommitdiffstats
path: root/lib/route
diff options
context:
space:
mode:
authorCong Wang <xiyou.wangcong@gmail.com>2013-12-05 23:48:26 (GMT)
committerThomas Graf <tgraf@suug.ch>2013-12-09 14:33:17 (GMT)
commitb5309e1ea4c583c185258de1108ef49d9f0b8de9 (patch)
tree04af502e860383f6f3d6226d4dcd628a0c4d35c8 /lib/route
parent2b7d1d5ab5f9836fdbb59bde728a7bbbc97574e1 (diff)
downloadlibnl-b5309e1ea4c583c185258de1108ef49d9f0b8de9.zip
libnl-b5309e1ea4c583c185258de1108ef49d9f0b8de9.tar.gz
libnl-b5309e1ea4c583c185258de1108ef49d9f0b8de9.tar.bz2
fix a bug in rtnl_act_fill()
Signed-off-by: Cong Wang <xiyou.wangcong@gmail.com> Signed-off-by: Thomas Graf <tgraf@suug.ch>
Diffstat (limited to 'lib/route')
-rw-r--r--lib/route/act.c2
1 files changed, 1 insertions, 1 deletions
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;