From d3856992710194330bae59210c4ca6154259ecdc Mon Sep 17 00:00:00 2001 From: Treeki Date: Wed, 12 Feb 2014 13:27:17 +0100 Subject: stop DNS thread cleanly when exiting --- bouncer/dns.h | 1 + 1 file changed, 1 insertion(+) (limited to 'bouncer/dns.h') diff --git a/bouncer/dns.h b/bouncer/dns.h index 78ec75f..90ba7dc 100644 --- a/bouncer/dns.h +++ b/bouncer/dns.h @@ -7,6 +7,7 @@ namespace DNS { void start(); + void stop(); int makeQuery(const char *name); void closeQuery(int id); bool checkQuery(int id, in_addr *pResult, bool *pIsError); -- cgit v1.2.3