Skip to content

Commit 191564d

Browse files
committed
[#3477] Set DHCPv6 HTTP default addres to ::1
1 parent 9a8cb8c commit 191564d

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/bin/dhcp6/ctrl_dhcp6_srv.cc

+3
Original file line numberDiff line numberDiff line change
@@ -1109,6 +1109,9 @@ ControlledDhcpv6Srv::ControlledDhcpv6Srv(uint16_t server_port /*= DHCP6_SERVER_P
11091109
CommandMgr::instance().setIOService(getIOService());
11101110
HttpCommandMgr::instance().setIOService(getIOService());
11111111

1112+
// Set the HTTP default socket address to the IPv6 (vs IPv4) loopback.
1113+
HttpCommandConfig::DEFAULT_SOCKET_ADDRESS = IOAddress("::1");
1114+
11121115
// Set the HTTP authentication default realm.
11131116
HttpCommandConfig::DEFAULT_AUTHENTICATION_REALM = "kea-dhcpv6-server";
11141117

0 commit comments

Comments
 (0)