"Daniel C. Sobral" <d...@newsguy.com> writes: > Dag-Erling Smorgrav wrote: > > "Daniel C. Sobral" <d...@newsguy.com> writes: > > > Dag-Erling Smorgrav wrote: > > > > [exerpt from /etc/rc.network] > > > Looking there, it *does* seem that there is a problem. defaultrouter > > > is only used to set route_default, which is *not* used. At least on > > > the code you quoted. > > This is getting fun :) Look closer at the first line I commented, then > > at the loop, and especially the eval. > That's tricky, indeed. You should have commented the line below the > second line, not the second line. :-)
Yep. I was similarly miffed the first time I read this code, but I thought 'hey, it works, so it has to be right' and read it over until I was enlightened. I still find it slightly spaghetti. DES -- Dag-Erling Smorgrav - d...@flood.ping.uio.no To Unsubscribe: send mail to majord...@freebsd.org with "unsubscribe freebsd-current" in the body of the message