Commit 9f152653 authored by Juliusz Chroboczek's avatar Juliusz Chroboczek

Add comment to retract_route -- smart people are being confused.

parent ba2cb98a
...@@ -502,6 +502,8 @@ change_route_metric(struct babel_route *route, ...@@ -502,6 +502,8 @@ change_route_metric(struct babel_route *route,
static void static void
retract_route(struct babel_route *route) retract_route(struct babel_route *route)
{ {
/* We cannot simply remove the route from the kernel, as that might
cause a routing loop -- see RFC 6126 Sections 2.8 and 3.5.5. */
change_route_metric(route, INFINITY, INFINITY, 0); change_route_metric(route, INFINITY, INFINITY, 0);
} }
......
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