I found that odhcpd stopped distributing prefixes to clients when IPv6 addresses on the serving interface were removed and added again. This happens pretty frequently for me, as my IPv6 addresses come solely from PD by ISP and ISP kills the PPPoE WAN session every two days. Addresses on LAN will absolutely be cleared when WAN goes down.
This change fixes the issue for me but I'm not sure whether this is the best way to do it. I've put my analysis into the commit message, please have a look. Thanks!
I found that odhcpd stopped distributing prefixes to clients when IPv6 addresses on the serving interface were removed and added again. This happens pretty frequently for me, as my IPv6 addresses come solely from PD by ISP and ISP kills the PPPoE WAN session every two days. Addresses on LAN will absolutely be cleared when WAN goes down.
This change fixes the issue for me but I'm not sure whether this is the best way to do it. I've put my analysis into the commit message, please have a look. Thanks!