Commit d9aa2928 authored by Juliusz Chroboczek's avatar Juliusz Chroboczek

Don't check for martians when installing xroutes.

parent 8df45f07
......@@ -105,12 +105,6 @@ install_xroute(struct xroute *xroute)
if(xroute->metric >= INFINITY && xroute->cost < INFINITY)
return;
if(xroute->plen >= 8 &&
(xroute->prefix[0] == 0 || xroute->prefix[0] == 0xFF)) {
fprintf(stderr, "Attempted to install martian xroute.\n");
return;
}
gwroute = find_installed_route(xroute->gateway);
if(!gwroute || gwroute->nexthop != xroute->nexthop) {
fprintf(stderr,
......
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