Rework the listening IP/interface selection code

Closes #11561
This commit is contained in:
sledgehammer999
2019-12-06 02:24:49 +02:00
parent d051519eff
commit 8200ef6bd5
9 changed files with 198 additions and 163 deletions

View File

@@ -50,6 +50,7 @@ namespace Utils
bool isLoopbackAddress(const QHostAddress &addr);
bool isIPInRange(const QHostAddress &addr, const QVector<Subnet> &subnets);
QString subnetToString(const Subnet &subnet);
QHostAddress canonicalIPv6Addr(const QHostAddress &addr);
const int MAX_SSL_FILE_SIZE = 1024 * 1024;
QList<QSslCertificate> loadSSLCertificate(const QByteArray &data);