summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2007-05-30 17:37:13 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2007-05-30 17:37:13 +0000
commit2779810ff0d1b66f0fca1a62d6164d70f5c86d06 (patch)
tree101caa8c28e64e6580d6674eb93e8d349673df21 /include
parentc9235e50f471e5071c0601dde62bb741d9b6f05c (diff)
Apply ipv6 #ifdef tidyup patch from djGrrr, thanks :)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7190 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'include')
-rw-r--r--include/dns.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/include/dns.h b/include/dns.h
index 3deb7d3c8..e5f721770 100644
--- a/include/dns.h
+++ b/include/dns.h
@@ -167,12 +167,10 @@ enum QueryType
#ifdef IPV6
const QueryType DNS_QUERY_FORWARD = DNS_QUERY_AAAA;
-const QueryType DNS_QUERY_REVERSE = DNS_QUERY_PTR;
#else
const QueryType DNS_QUERY_FORWARD = DNS_QUERY_A;
-const QueryType DNS_QUERY_REVERSE = DNS_QUERY_PTR;
#endif
-
+const QueryType DNS_QUERY_REVERSE = DNS_QUERY_PTR;
/**
* Used internally to force PTR lookups to use a certain protocol scemantics,
* e.g. x.x.x.x.in-addr.arpa for v4, and *.ip6.arpa for v6.