Skip to content

Commit

Permalink
[#3477] Set DHCPv6 HTTP default addres to ::1
Browse files Browse the repository at this point in the history
  • Loading branch information
fxdupont committed Aug 1, 2024
1 parent 9a8cb8c commit 191564d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/bin/dhcp6/ctrl_dhcp6_srv.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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";

Expand Down

0 comments on commit 191564d

Please sign in to comment.