mirror of
https://github.com/xcat2/xcat-core.git
synced 2026-11-22 02:12:16 +00:00
6497b1a1a6
When the Kea Control Agent host updates succeed, an IPv6-only node skips the Kea reload. A new DHCPv6 boot class stays inactive and a deleted one stays active. kea_process_request restarts Kea after a live update only when client_classes_changed is set. It set the flag from the DHCPv4 class updates and discarded the results of kea_sync_node_boot_classes6 and kea_remove_node_boot_classes6. kea_process_request now also sets the flag when either DHCPv6 boot class update reports a change. dhcp_kea_reload_boot_classes6.t asserts the restart for an added and for a removed DHCPv6 boot class. Both assertions fail without this change. Signed-off-by: Daniel Hilst <392820+dhilst@users.noreply.github.com>