Skip to content

Commit e98e76e

Browse files
Not accepting default routes retracted
Causes to reinstall the uninstalled default route, which does create unreachable hosts when using IPv6 source routing with multiple sources
1 parent 149a20e commit e98e76e

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

route.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -731,6 +731,8 @@ route_acceptable(struct babel_route *route, int feasible,
731731
return 0;
732732
if(exclude && route->neigh == exclude)
733733
return 0;
734+
if(route->refmetric == INFINITY && is_default(route->src->prefix, route->src->plen))
735+
return 0;
734736
return 1;
735737
}
736738

0 commit comments

Comments
 (0)