summaryrefslogtreecommitdiff
path: root/bouncer/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'bouncer/main.cpp')
-rw-r--r--bouncer/main.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/bouncer/main.cpp b/bouncer/main.cpp
index 6c248c8..b021120 100644
--- a/bouncer/main.cpp
+++ b/bouncer/main.cpp
@@ -53,6 +53,8 @@ int main(int argc, char **argv) {
bounce.loadConfig();
int errcode = bounce.execute();
+
+ DNS::stop();
if (errcode < 0) {
printf("(Bouncer::execute failed with %d)\n", errcode);
return EXIT_FAILURE;