]> git.ipfire.org Git - people/stevee/guardian.git/blobdiff - guardian.in
Unblock all blocked hosts when exiting guardian.
[people/stevee/guardian.git] / guardian.in
index 6896a279a7e54c9de857e47400eca21ddc15a9c1..bbf4eb5d5036243b1ef71027910f8ce4b6a2b3b4 100644 (file)
@@ -480,6 +480,9 @@ sub Shutdown () {
        # Stop all workers.
        &StopWorkers();
 
+       # Unblock all blocked hosts.
+       &Guardian::Events::CallFlush();
+
        # Remove socket file on exit.
        &Guardian::Socket::RemoveSocketFile();