X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=include%2Fdns.h;h=b011a9ddbd7762bb384cc6fe4ba5745bfd1fde79;hb=2c1dd9be2be86546e6dc1231b5df80af1ec1b23a;hp=804250c150bd60302496647ddcc58b6cb81b77d4;hpb=70f589ea40d548d344596b91b001448d17ae160f;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/include/dns.h b/include/dns.h index 804250c15..b011a9ddb 100644 --- a/include/dns.h +++ b/include/dns.h @@ -254,11 +254,6 @@ class DNS : public EventHandler */ int currid; - /** - * Currently active Resolver classes - */ - 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 @@ -273,6 +268,10 @@ class DNS : public EventHandler int MakePayload(const char* name, const QueryType rr, const unsigned short rr_class, unsigned char* payload); public: + /** + * Currently active Resolver classes + */ + Resolver* Classes[MAX_REQUEST_ID]; /** * The port number DNS requests are made on, * and replies have as a source-port number.