Revert "close tun lease descriptors prior to running worker"

This reverts commit 9496819a33.
This commit is contained in:
Nikos Mavrogiannopoulos
2014-04-13 09:35:20 +02:00
parent 7071c75c85
commit 1c3ca402b3
-2
View File
@@ -558,8 +558,6 @@ void clear_lists(main_server_st *s)
list_for_each_safe(&s->proc_list.head, ctmp, cpos, list) {
if (ctmp->fd >= 0)
close(ctmp->fd);
if (ctmp->tun_lease.fd >= 0)
close(ctmp->tun_lease.fd);
if (ctmp->auth_ctx != NULL)
proc_auth_deinit(s, ctmp);
list_del(&ctmp->list);