Commit 7d9aa84d authored by Juliusz Chroboczek's avatar Juliusz Chroboczek

Add route_metric accessor.

parent d6d8bed2
......@@ -32,6 +32,12 @@ struct route {
short installed;
};
static inline int
route_metric(const struct route *route)
{
return route->metric;
}
extern struct route *routes;
extern int numroutes, maxroutes;
extern int kernel_metric, allow_duplicates;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment