mirror of
https://gitlab.com/openconnect/ocserv.git
synced 2026-10-14 02:22:03 +08:00
Revert "close tun lease descriptors prior to running worker"
This reverts commit 9496819a33.
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user