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 <a...@rfc2549.org> --- src/openvpn/multi.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/openvpn/multi.c b/src/openvpn/multi.c index 72f66c5bb..7c9500f3e 100644 --- a/src/openvpn/multi.c +++ b/src/openvpn/multi.c @@ -2984,11 +2984,11 @@ multi_process_post(struct multi_context *m, struct multi_instance *mi, const uns * 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 -- 2.30.1 _______________________________________________ Openvpn-devel mailing list Openvpn-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/openvpn-devel