]> granicus.if.org Git - libnl/commitdiff
nl_cli_route_parse_table fixed typo in code
authorКоренберг Марк (дома) <socketpair@gmail.com>
Mon, 27 Aug 2012 17:14:07 +0000 (23:14 +0600)
committerКоренберг Марк <mark@ideco.ru>
Tue, 28 Aug 2012 12:53:29 +0000 (18:53 +0600)
Bug introduced in 2bdcde7e8e8bb78b165f093f1a708134f417e557

src/lib/route.c

index f2d6c60a17b9ce86d5db988089793f2371464c8c..cd3e89783b33f2f558649b369e2ee0485a20f1c7 100644 (file)
@@ -209,7 +209,7 @@ void nl_cli_route_parse_table(struct rtnl_route *route, char *arg)
                table = lval;
        }
 
-       rtnl_route_set_table(route, lval);
+       rtnl_route_set_table(route, table);
 }
 
 void nl_cli_route_parse_prio(struct rtnl_route *route, char *arg)