I tested this hack below just now and it does not work. The route still is only there when no other default route exists.
Michael On Fri, Nov 6, 2009 at 20:15, Juliusz Chroboczek <[email protected]> wrote: >> Except babeld on B is not inserting a default route to A until the >> adsl line on A goes away. And it withdrawls it when the line comes >> back up. > > Yep. > > I'm stuck -- I don't see a solution to this case. In fact, I believe > that a theoretically sound solution to your problem doesn't even exist. > > Work-around: try this on your slow node: > > diff -rN -u old-babeld/route.c new-babeld/route.c > --- old-babeld/route.c 2009-11-06 20:15:21.524004826 +0100 > +++ new-babeld/route.c 2009-11-06 20:15:21.536979906 +0100 > @@ -519,8 +519,14 @@ > if(!route_feasible(route)) > return; > > +#define HORRIBLE_HACK_FOR_MICHAEL > + > +#ifdef HORRIBLE_HACK_FOR_MICHAEL > +#warning Using horrible hack for Michael. > +#else > if(find_xroute(route->src->prefix, route->src->plen)) > return; > +#endif > > installed = find_installed_route(route->src->prefix, > route->src->plen); > > _______________________________________________ Babel-users mailing list [email protected] http://lists.alioth.debian.org/mailman/listinfo/babel-users

