mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2024-10-01 01:26:01 -04:00
Support IPv6 as well as IPv4.
This commit is contained in:
parent
af394ff65c
commit
d6597400de
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user