"Daniel C. Sobral" <[email protected]> writes: > Dag-Erling Smorgrav wrote: > > "Daniel C. Sobral" <[email protected]> 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 - [email protected] To Unsubscribe: send mail to [email protected] with "unsubscribe freebsd-current" in the body of the message
