CVSROOT: /cvs Module name: src Changes by: flor...@cvs.openbsd.org 2022/07/12 10:55:00
Modified files: sbin/slaacd : engine.c frontend.c slaacd.c slaacd.h Log message: Rewrite state machine in the style of dhcpleased(8). It is less cluttered, easier to reason about and fixes some bugs in passing that would have been difficult in the old state machine. Stale IPv6 addresses, default routes and nameservers are now correctly removed when moving from one IPv6 enabled network to another IPv6 enabled network. Default routes and nameservers correctly expire when they are not refreshed and nameservers are updated when router advertisements change the nameserver option. Testing & input caspar@ Putting it in now to get wider testing and shake out bugs, discussed with deraadt@ at r2k22.