dhcp: same for radvd #3310

This commit is contained in:
Franco Fichtner 2020-02-06 18:11:50 +01:00
parent 5ebae48efd
commit a0464ab3d3

View File

@ -216,6 +216,7 @@ function dhcpd_radvd_configure($verbose = false, $blacklist = array())
flush();
}
$ifconfig_details = legacy_interfaces_details();
$radvdconf = "# Automatically generated, do not edit\n";
/* Process all links which need the router advertise daemon */
@ -457,8 +458,7 @@ function dhcpd_radvd_configure($verbose = false, $blacklist = array())
$dnslist = array();
$ifcfgipv6 = find_interface_ipv6($realif);
$networkv6 = find_interface_networkv6($realif);
list ($ifcfgipv6, $networkv6) = dhcpd_getaddr6($if, $realif, $ifconfig_details);
if ($autotype == 'slaac') {
/* XXX this may be incorrect and needs an override or revisit */