Commit a4637370 authored by Juliusz Chroboczek's avatar Juliusz Chroboczek

Flush flush_network_routes.

It is no longer used.
parent 48bacd83
......@@ -112,21 +112,6 @@ flush_neighbour_routes(struct neighbour *neigh)
}
}
void
flush_network_routes(struct network *net)
{
int i;
i = 0;
while(i < numroutes) {
if(routes[i].neigh->network == net) {
flush_route(routes + i);
continue;
}
i++;
}
}
unsigned int
metric_to_kernel(int metric)
{
......
......@@ -44,7 +44,6 @@ struct route *find_installed_route(const unsigned char *prefix,
unsigned char plen);
void flush_route(struct route *route);
void flush_neighbour_routes(struct neighbour *neigh);
void flush_network_routes(struct network *net);
unsigned int metric_to_kernel(int metric);
void install_route(struct route *route);
void uninstall_route(struct route *route);
......
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