Dag-Erling Smorgrav wrote: > > > > # Configure routing > > > > > > if [ "x$defaultrouter" != "xNO" ] ; then > > > static_routes="default ${static_routes}" # look here... > > > route_default="default ${defaultrouter}" > > > fi > > > > > > # Set up any static routes. This should be done before router > > > discovery. > > > if [ "x${static_routes}" != "x" ]; then > > > for i in ${static_routes}; do # ...and here > > > eval route_args=\$route_${i} > > > route add ${route_args} > > > done > > > fi > > > > 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. :-) -- Daniel C. Sobral (8-DCS) d...@newsguy.com d...@freebsd.org "Proof of Trotsky's farsightedness if that _none_ of his predictions have come true yet." To Unsubscribe: send mail to majord...@freebsd.org with "unsubscribe freebsd-current" in the body of the message