Commit
c5fec838e moved the auth control file related
states into its own struct. Unfortunately I forgot
to also do the part inside #if defined(ENABLE_ASYNC_PUSH)
Signed-off-by: Arne Schwabe <arne@rfc2549.org>
Acked-by: Gert Doering <gert@greenie.muc.de>
Message-Id: <
20210403122444.17090-1-arne@rfc2549.org>
URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg22007.html
Signed-off-by: Gert Doering <gert@greenie.muc.de>
* and an auth_control_file, we assume it got just added and add
* inotify watch to that file
*/
- if (ks && ks->auth_control_file && was_unauthenticated
+ if (ks && ks->plugin_auth.auth_control_file && was_unauthenticated
&& (ks->authenticated == KS_AUTH_DEFERRED))
{
add_inotify_file_watch(m, mi, m->top.c2.inotify_fd,
- ks->auth_control_file);
+ ks->plugin_auth.auth_control_file);
}
#endif