dhcp: set RemoveAdvOnExit to off in CARP mode #7194

This commit is contained in:
Franco Fichtner 2024-02-02 11:25:40 +01:00
parent 0168141566
commit c965e8d3f0

View File

@ -303,6 +303,8 @@ function dhcpd_radvd_configure($verbose = false, $blacklist = [])
if ($carp_mode) {
/* to avoid wrong MAC being stuck during failover */
$radvdconf .= "\tAdvSourceLLAddress off;\n";
/* to avoid final advertisement with zero router lifetime */
$radvdconf .= "\tRemoveAdvOnExit off;\n";
}
/* VIPs may duplicate readings from system */