mirror of
https://github.com/xcat2/xcat-core.git
synced 2026-11-23 10:52:29 +00:00
7513aba307
With site.httpport=8080 an unknown node loads iPXE over DHCPv6 and cannot fetch the boot script of its network. kea_client_classes6 wrote the second-stage URL of a network as http://<server>/tftpboot/..., with no port. The per-node URL from dhcp6_bootfile_url_for_node already carries the site port. kea_client_classes6 now takes an httpport option and adds the suffix from httpport_suffix, as the DHCPv4 network classes do. kea_boot_client_classes6 passes the value of site.httpport. dhcp6_boot_client_classes.t and dhcp_dhcpv6_duid.t assert the port in the URL. Both fail without this change. Signed-off-by: Daniel Hilst <392820+dhilst@users.noreply.github.com>