diff options
-rw-r--r-- | etc/defaults/rc.conf | 2 | ||||
-rw-r--r-- | sys/netinet6/in6_proto.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/etc/defaults/rc.conf b/etc/defaults/rc.conf index c517883..d76b5d8 100644 --- a/etc/defaults/rc.conf +++ b/etc/defaults/rc.conf @@ -300,7 +300,7 @@ stf_interface_ipv6_slaid="0000" # IPv6 Site Level Aggregator for stf0 ipv6_faith_prefix="NO" # Set faith prefix to enable a FAITH # IPv6-to-IPv4 TCP translator. You also need # faithd(8) setup. -ipv6_ipv4mapping="YES" # Set to "NO" to disable IPv4 mapped IPv6 addr +ipv6_ipv4mapping="NO" # Set to "YES" to enable IPv4 mapped IPv6 addr # communication. (like ::ffff:a.b.c.d) ipv6_firewall_enable="NO" # Set to YES to enable IPv6 firewall # functionality diff --git a/sys/netinet6/in6_proto.c b/sys/netinet6/in6_proto.c index 52d247f..98a312e 100644 --- a/sys/netinet6/in6_proto.c +++ b/sys/netinet6/in6_proto.c @@ -288,7 +288,7 @@ int ip6_gif_hlim = 0; int ip6_use_deprecated = 1; /* allow deprecated addr (RFC2462 5.5.4) */ int ip6_rr_prune = 5; /* router renumbering prefix * walk list every 5 sec. */ -int ip6_v6only = 0; +int ip6_v6only = 1; u_int32_t ip6_id = 0UL; int ip6_keepfaith = 0; |