[Olsr-dev] Removing default route after program termination
Wed Oct 10 20:57:07 CEST 2007
On Wed, Oct 10, 2007 at 08:01:16PM +0200, Mitar wrote:
| I see two possibilities:
| The hard way: We extend OLSR daemon with routing daemon on BSD which
| properly (the BSD way) work with multiple default routes, simulating
| the routing behavior with different metrics for default routes on
| other OSes.
| The easy way: We ignore that adding a new default route does not do
| anything on BSD, but we take care that the route OLSR removes is
| really a route it added (and not some other default route). This way
| it at least does not break anything.
maybe there is a third one - since we have per-platform code
to install routes one could probe for a default route first and
remove it for the BSDs.
More information about the Olsr-dev