Un-obsolete'ing ipv6_enable

jhell jhell at DataIX.net
Mon Mar 8 13:49:13 UTC 2010


On Sun, 7 Mar 2010 21:26, dougb@ wrote:
> Oops, missed one.
>
> Doug
>
>

;) Hi Doug & everyone,

Personally I think that ipv6_enable could be skipped(removed) all-in-all.

Here is my reason:

It seems needless to have if, the value of ipv6_network_interfaces could 
just be checked against to see if it is anything other than null.

In the default case it is already set to auto and I propose removing 
ipv6_enable and change ipv6_network_interfaces to be null and if it is 
anything other then null ipv6 will be enabled in the same fashion it is 
now but less variables to have to specify in the long-run.

This is just a short quick answer that I did not get to involved with yet 
but I see this as a "if the interface is specified then you obviously want 
ipv6 to be enabled" and brings it a little closer to the functionality of 
ipv4 not having to specify ipv4_enable.

Just a thought in a hay stack.

Regards,

-- 

  jhell



More information about the freebsd-net mailing list