If SLAAC, don't fix the subnet based on the current address

This commit is contained in:
Lior Okman 2018-05-09 08:24:18 +03:00 committed by Franco Fichtner
parent 00f9f600c7
commit 3d03e00edf

View File

@ -301,7 +301,7 @@ function services_radvd_configure($blacklist = array())
$ifcfgipv6 = get_interface_ipv6($if);
if (is_ipaddrv6($ifcfgipv6)) {
if ($autotype != 'slaac' && is_ipaddrv6($ifcfgipv6)) {
$ifcfgsnv6 = get_interface_subnetv6($if);
$subnetv6 = gen_subnetv6($ifcfgipv6, $ifcfgsnv6);
}