Linux-Hams archive - January 1997: Re: ax25rtd

Re: ax25rtd

Joerg Reuter (bkh.efnrnsd@hotel-norge.no)
Sun, 12 Jan 1997 21:15:42 +0100


On Thu, 9 Jan 1997, Klaus Kudielka wrote:

> > > - if (!config->ip_add_route)
> > > - return 0;
> > > -
> >
> > Please leave it right here, as ax25rtd might accidently remove manually
> > added routes (with 'route') otherwise. The rest of the patch appears
>
> It would only delete obsolete routes on interfaces with
> 'ip-learn-routes=yes' (see del_kernel_ip_route()). I think this is what
> the user wanted?!?

You are right, del_kernel_ip_route() checks itself if it is allowed
to do remove routes from the kernel table. That's the risk involved
with sanity checks: I forgot that I was paranoid there. Did I mention
that I shouldn't write mails or articles so late...? ;-)

vy 73,

Joerg Reuter ampr-net: fzam@ivaor.com
AX-25 : DL1BKE @ DB0ACH.#NRW.DEU.EU
Internet: wnuryya@rele.tunk.net

I used to be a werewolf but I'm better now--ooooooooow! ;-)