summaryrefslogtreecommitdiffstats
path: root/src/lib
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/route.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/route.c b/src/lib/route.c
index f2d6c60..cd3e897 100644
--- a/src/lib/route.c
+++ b/src/lib/route.c
@@ -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)