mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-12-04 15:39:34 +01:00
Support IPv6 as well as IPv4.
This commit is contained in:
@@ -61,7 +61,10 @@ void Server::start()
|
||||
{
|
||||
if (m_started)
|
||||
return;
|
||||
m_started = m_httpServer->listen(QHostAddress::LocalHost, 19455);
|
||||
|
||||
static const int PORT = 19455;
|
||||
m_started = m_httpServer->listen(QHostAddress::LocalHost, PORT)
|
||||
|| m_httpServer->listen(QHostAddress::LocalHostIPv6, PORT);
|
||||
}
|
||||
|
||||
void Server::stop()
|
||||
|
||||
Reference in New Issue
Block a user