diff options
| author | Nagi5Yeq <wu@x-nagi.com> | 2021-02-04 23:21:41 +0800 |
|---|---|---|
| committer | Nagi5Yeq <wu@x-nagi.com> | 2021-02-04 23:21:41 +0800 |
| commit | 31d9d4dbed319a3c1a0a493c1e48ed7d20621762 (patch) | |
| tree | 1f57dc9567bce95cad774287551d54e6b417a175 /src/SocketCore.h | |
| parent | b3066738d1705f84979cd3477b567ea4201e2296 (diff) | |
add ipv6 address in http announce
Diffstat (limited to 'src/SocketCore.h')
| -rw-r--r-- | src/SocketCore.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/SocketCore.h b/src/SocketCore.h index 60f33279..38cb3a95 100644 --- a/src/SocketCore.h +++ b/src/SocketCore.h @@ -425,6 +425,9 @@ void checkAddrconfig(); bool getIPv4AddrConfigured(); bool getIPv6AddrConfigured(); +// Returns a unicast ipv6 address or NULL if not exist. Used for announce. +const char* getGlobalIpv6Addr(); + } // namespace net } // namespace aria2 |
