On Sun, Nov 11, 2007 at 06:02:56PM +0100, Soeren Straarup wrote:
quoted text > On Sat, 10 Nov 2007 22:17:18 -0800 (PST)
> Doug Barton <dougb@FreeBSD.org> wrote:
>=20
> > On Mon, 5 Nov 2007, Bob Johnson wrote:
> >=20
> > > On 11/5/07, Mike Makonnen <mtm@freebsd.org> wrote:
> > >
> > >> Most IP related knobs will have an ipv4_ and ipv6_ version. To
> > >> make the transition easier rc.subr(8) will "automagically" DTRT
> > >> for the following knobs:
> > >> gateway_enable =3D> ipv4_gateway_enable
> > >> router_enable =3D> ipv4_router_enable
> > >> router =3D> ipv4_router
> > >> router_flags =3D> ipv4_router_flags
> > >> defaultrouter =3D> ipv4_defaultrouter
> > >> static_routes =3D> ipv4_static_routes
> > >> static_routes_<IF> =3D> ipv4_static_routes_<IF>
> > >> route_<XXX> =3D> ipv4_route_<XXX>
> > >> dhclient_program =3D> ipv4_dhclient_program
> > >> dhclient_flags =3D> ipv4_dhclient_flags
> > >> dhclient_flags_<IF> =3D> ipv4_dhclient_flags_<IF>
> > >> background_dhclient_<IF> =3D> ipv4_background_dhclient_<IF>
> > >>
> > >> Please try it and let me know what you think.
> > >
> > > Personally, I'd prefer the new names be along the lines of
> > > ifconfig_<interface>_ipv4, ifconfig_<interface>_ipv6,
> > > defaultrouter_ipv4, defaultrouter_ipv6, dhclient_program_ipv4,
> > > dhclient_program_ipv6, etc.
> >=20
> > Personally I think that grouping things by ipv4/ipv6 makes more
> > sense, and has better longevity.
> >=20
> > > And this would be a good time to change defaultrouter to
> > > default_router!
> >=20
> > Or we could make it shorter and call it gateway.
>=20
> Well there is a difference between router and gateway.
> I think that gateway would be a better word since from my
> understanding that is what people use today.
+1 vote for the "gateway". I always wandered why it's called
"router", since "gateway" would be a more proper name for it.
Sincerely,
Gergely Czuczy
mailto:
gergely.czuczy@harmless.hu
--=20
Weenies test. Geniuses solve problems that arise.