2
0
mirror of https://gitlab.isc.org/isc-projects/kea synced 2025-08-30 13:37:55 +00:00

[#3477] Set DHCPv6 HTTP default addres to ::1

This commit is contained in:
Francis Dupont
2024-07-31 09:56:18 +02:00
parent 9a8cb8c322
commit 191564d970

View File

@@ -1109,6 +1109,9 @@ ControlledDhcpv6Srv::ControlledDhcpv6Srv(uint16_t server_port /*= DHCP6_SERVER_P
CommandMgr::instance().setIOService(getIOService());
HttpCommandMgr::instance().setIOService(getIOService());
// Set the HTTP default socket address to the IPv6 (vs IPv4) loopback.
HttpCommandConfig::DEFAULT_SOCKET_ADDRESS = IOAddress("::1");
// Set the HTTP authentication default realm.
HttpCommandConfig::DEFAULT_AUTHENTICATION_REALM = "kea-dhcpv6-server";