WireGuard rework for MacOS and Windows (#314)
WireGuard rework for MacOS and Windows
This commit is contained in:
parent
421a27ceae
commit
07c38e9b6c
60 changed files with 4779 additions and 434 deletions
|
|
@ -50,4 +50,9 @@ class IPAddress final {
|
|||
int m_prefixLength;
|
||||
};
|
||||
|
||||
inline size_t qHash(const IPAddress& key, size_t seed) {
|
||||
const QHostAddress& address = key.address();
|
||||
return qHash(address, seed) ^ key.prefixLength();
|
||||
}
|
||||
|
||||
#endif // IPADDRESS_H
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue