diff options
-rw-r--r-- | include/dns.h | 7 | ||||
-rw-r--r-- | src/dns.cpp | 2 |
2 files changed, 4 insertions, 5 deletions
diff --git a/include/dns.h b/include/dns.h index 95be2deae..e9c5fe924 100644 --- a/include/dns.h +++ b/include/dns.h @@ -117,10 +117,9 @@ enum ResolverError RESOLVER_NOERROR = 0, RESOLVER_NSDOWN = 1, RESOLVER_NXDOMAIN = 2, - RESOLVER_NOTREADY = 3, - RESOLVER_BADIP = 4, - RESOLVER_TIMEOUT = 5, - RESLOVER_FORCEUNLOAD = 6 + RESOLVER_BADIP = 3, + RESOLVER_TIMEOUT = 4, + RESOLVER_FORCEUNLOAD = 5 }; /** diff --git a/src/dns.cpp b/src/dns.cpp index 2b312777e..50fdee34b 100644 --- a/src/dns.cpp +++ b/src/dns.cpp @@ -1148,7 +1148,7 @@ void DNS::CleanResolvers(Module* module) { if (Classes[i]->GetCreator() == module) { - Classes[i]->OnError(RESLOVER_FORCEUNLOAD, "Parent module is unloading"); + Classes[i]->OnError(RESOLVER_FORCEUNLOAD, "Parent module is unloading"); delete Classes[i]; Classes[i] = NULL; } |