summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAlexander Maassen <outsider@twingoversum.scarynet.org>2017-05-26 18:17:13 +0200
committerAdam <Adam@anope.org>2017-05-27 09:56:18 -0400
commitbfcfd0b727bb7216ad1572797a2b049a72389258 (patch)
tree885157145f633c6eba9c6efbb4920f4d3c98841c /include
parent087f1cb3596aeb05d08a6d9ea3b5afa2162b0029 (diff)
Moved m_dns's reverse ip method to sockaddrs::reverse().
Updated m_dnsbl to support ipv6.
Diffstat (limited to 'include')
-rw-r--r--include/sockets.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/sockets.h b/include/sockets.h
index db70db18a..3fe2aa519 100644
--- a/include/sockets.h
+++ b/include/sockets.h
@@ -57,6 +57,11 @@ union CoreExport sockaddrs
*/
Anope::string addr() const;
+ /** Get the reverse address represented by this addr
+ * @return The reverse address
+ */
+ Anope::string reverse() const;
+
/* Is this address ipv6? */
bool ipv6() const;