From: Cong Wang Date: Sun, 23 Mar 2014 19:02:10 +0000 (-0700) Subject: act: fix a pointer in rtnl_act_msg_parse() X-Git-Tag: libnl3_2_25rc1~29 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b8d90d9bb19b5d9e4e5f71c4f6bb0eaadd78d7a0;p=thirdparty%2Flibnl.git act: fix a pointer in rtnl_act_msg_parse() Signed-off-by: Cong Wang Acked-by: Thomas Graf Signed-off-by: Thomas Haller --- diff --git a/lib/route/act.c b/lib/route/act.c index 1e9673f..f5733bb 100644 --- a/lib/route/act.c +++ b/lib/route/act.c @@ -454,7 +454,7 @@ err_free: static int rtnl_act_msg_parse(struct nlmsghdr *n, struct rtnl_act **act) { - struct rtnl_tc *tc = TC_CAST(act); + struct rtnl_tc *tc = TC_CAST(*act); struct nl_cache *link_cache; struct nlattr *tb[TCAA_MAX + 1]; struct tcamsg *tm;