It does not make sense to scan the entire routing table if the decision
will be overridden afterwards.
This makes it possible to use odhcpd on a router with full BGP table, by setting ra_default to 2. Without this change, odhcpd is constantly busy reading /proc/net/ipv6_route and doesn't respond to router sollications in time.
It does not make sense to scan the entire routing table if the decision will be overridden afterwards.
This makes it possible to use odhcpd on a router with full BGP table, by setting ra_default to 2. Without this change, odhcpd is constantly busy reading /proc/net/ipv6_route and doesn't respond to router sollications in time.