summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2012-10-26 00:55:04 -0400
committerAdam <Adam@anope.org>2012-10-26 00:55:04 -0400
commit8d27b25bf861072c35f534189b05a7a3811ee8f7 (patch)
tree0185d3e50e55513e36f29b23d88aba173604e2cf /include
parent727b35536f6efc19a76b84d2a8142ba494c1e9d6 (diff)
Don't attempt to process any query packets if we aren't explicitly given permission to bind to a port (we do anyway currently for m_dnsbl to get replies)
Diffstat (limited to 'include')
-rw-r--r--include/dns.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/dns.h b/include/dns.h
index 63882a075..c4654727d 100644
--- a/include/dns.h
+++ b/include/dns.h
@@ -216,6 +216,7 @@ class CoreExport DNSManager : public Timer
typedef std::multimap<Anope::string, ResourceRecord, ci::less> cache_map;
cache_map cache;
+ bool listen;
uint32_t serial;
int last_year, last_day, last_num;