summaryrefslogtreecommitdiff
path: root/include/modules
diff options
context:
space:
mode:
authorSadie Powell <sadie@witchery.services>2021-01-19 08:42:44 +0000
committerSadie Powell <sadie@witchery.services>2021-01-19 08:42:44 +0000
commita601cf2f0d9754e4bb11a28ce8954a86ad4e367e (patch)
tree89d7d1bec18c64b42bac8955c9ca7646dc05f750 /include/modules
parentebe3e3f3cfef79e5b92b4c1d8fc9913dac4ddf43 (diff)
Add <dns:enabled>; allows disabling DNS lookups entirely.
Ref: #1839.
Diffstat (limited to 'include/modules')
-rw-r--r--include/modules/dns.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/modules/dns.h b/include/modules/dns.h
index 8ac90f7de..6e7527a55 100644
--- a/include/modules/dns.h
+++ b/include/modules/dns.h
@@ -57,6 +57,7 @@ namespace DNS
enum Error
{
ERROR_NONE,
+ ERROR_DISABLED,
ERROR_UNKNOWN,
ERROR_UNLOADED,
ERROR_TIMEDOUT,