mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
Rather than having issues with not started radvd try to start radvd to discover by itself the prefix on the interface by using the special directive :: on the prefix declaration. Related to many tickets and forum posts
This commit is contained in:
parent
9d40745bbf
commit
4cdd20bcd6
@ -220,11 +220,13 @@ function services_radvd_configure() {
|
||||
continue;
|
||||
|
||||
$ifcfgipv6 = get_interface_ipv6($if);
|
||||
if(!is_ipaddrv6($ifcfgipv6))
|
||||
continue;
|
||||
|
||||
$ifcfgsnv6 = get_interface_subnetv6($if);
|
||||
$subnetv6 = gen_subnetv6($ifcfgipv6, $ifcfgsnv6);
|
||||
if(!is_ipaddrv6($ifcfgipv6)) {
|
||||
$subnetv6 = "::";
|
||||
$ifcfgsnv6 = "64";
|
||||
} else {
|
||||
$ifcfgsnv6 = get_interface_subnetv6($if);
|
||||
$subnetv6 = gen_subnetv6($ifcfgipv6, $ifcfgsnv6);
|
||||
}
|
||||
$radvdifs[$realif] = $realif;
|
||||
|
||||
$autotype = $config['interfaces'][$trackif]['ipaddrv6'];
|
||||
|
||||
Loading…
Reference in New Issue
Block a user