> > > - 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! ;-)