summaryrefslogtreecommitdiff
path: root/src/SocketCore.h
diff options
context:
space:
mode:
authorNagi5Yeq <wu@x-nagi.com>2021-02-04 23:21:41 +0800
committerNagi5Yeq <wu@x-nagi.com>2021-02-04 23:21:41 +0800
commit31d9d4dbed319a3c1a0a493c1e48ed7d20621762 (patch)
tree1f57dc9567bce95cad774287551d54e6b417a175 /src/SocketCore.h
parentb3066738d1705f84979cd3477b567ea4201e2296 (diff)
add ipv6 address in http announce
Diffstat (limited to 'src/SocketCore.h')
-rw-r--r--src/SocketCore.h3
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