summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/dns.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/dns.h b/include/dns.h
index db058be9b..8550e5e70 100644
--- a/include/dns.h
+++ b/include/dns.h
@@ -318,6 +318,11 @@ class DNS : public Extensible
* counter (currid)
*/
unsigned long PRNG();
+
+ /**
+ * Turn an in6_addr into a .ip6.int domain
+ */
+ static void MakeIP6Int(char* query, const in6_addr *ip);
};
#endif