View | Details | Raw Unified | Return to bug 175006
Collapse All | Expand All

(-)base/head/etc/rc.d/ip6addrctl (-1 / +3 lines)
Lines 35-40 Link Here
35
	ip6addrctl add ::/96		20	3
35
	ip6addrctl add ::/96		20	3
36
	ip6addrctl add ::ffff:0:0/96	10	4
36
	ip6addrctl add ::ffff:0:0/96	10	4
37
	checkyesno ip6addrctl_verbose && ip6addrctl
37
	checkyesno ip6addrctl_verbose && ip6addrctl
38
	return 0
38
}
39
}
39
40
40
ip6addrctl_prefer_ipv4()
41
ip6addrctl_prefer_ipv4()
Lines 48-53 Link Here
48
	ip6addrctl add 2002::/16	20	3
49
	ip6addrctl add 2002::/16	20	3
49
	ip6addrctl add ::/96		10	4
50
	ip6addrctl add ::/96		10	4
50
	checkyesno ip6addrctl_verbose && ip6addrctl
51
	checkyesno ip6addrctl_verbose && ip6addrctl
52
	return 0
51
}
53
}
52
54
53
ip6addrctl_start()
55
ip6addrctl_start()
Lines 60-66 Link Here
60
		if [ -r "${config_file}" -a -s "${config_file}" ]; then
62
		if [ -r "${config_file}" -a -s "${config_file}" ]; then
61
			ip6addrctl flush >/dev/null 2>&1
63
			ip6addrctl flush >/dev/null 2>&1
62
			ip6addrctl install "${config_file}"
64
			ip6addrctl install "${config_file}"
63
			checkyesno ip6addrctl_verbose && ip6addrctl
65
			checkyesno ip6addrctl_verbose && ip6addrctl || true
64
		else
66
		else
65
			if checkyesno ipv6_activate_all_interfaces; then
67
			if checkyesno ipv6_activate_all_interfaces; then
66
				ip6addrctl_prefer_ipv6
68
				ip6addrctl_prefer_ipv6

Return to bug 175006