summaryrefslogtreecommitdiff
path: root/include/dns.h
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-08-03 21:45:39 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-08-03 21:45:39 +0000
commite5843dde4dda51de3160de62b7b8811cb9465d1b (patch)
treeca8ba9b01dfaf3f47fc2ed810fed63bf8a19cb88 /include/dns.h
parent0f5ba908f48029bdb27a08121469ab490c971bc6 (diff)
Add proper support for "munging" of ipv6 addresses when ::ffff:addr is used (this is temporary)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4693 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'include/dns.h')
-rw-r--r--include/dns.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/dns.h b/include/dns.h
index 93817e66f..f66d2d3c4 100644
--- a/include/dns.h
+++ b/include/dns.h
@@ -249,6 +249,14 @@ class DNS : public Extensible
Resolver* Classes[MAX_REQUEST_ID];
/**
+ * We have to turn off a few checks on received packets
+ * when people are using 4in6 (e.g. ::ffff:xxxx). This is
+ * a temporary kludge, Please let me know if you know how
+ * to fix it.
+ */
+ bool ip6munge;
+
+ /**
* Build a dns packet payload
*/
int MakePayload(const char* name, const QueryType rr, const unsigned short rr_class, unsigned char* payload);