From b5309e1ea4c583c185258de1108ef49d9f0b8de9 Mon Sep 17 00:00:00 2001 From: Cong Wang Date: Thu, 5 Dec 2013 15:48:26 -0800 Subject: [PATCH] fix a bug in rtnl_act_fill() Signed-off-by: Cong Wang Signed-off-by: Thomas Graf --- 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;