Async push is a sub-feature of plugins. Trac #783
Signed-off-by: Lev Stipakov <lstipa...@gmail.com> --- src/openvpn/syshead.h | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/openvpn/syshead.h b/src/openvpn/syshead.h index f5008b7..c7c3259 100644 --- a/src/openvpn/syshead.h +++ b/src/openvpn/syshead.h @@ -702,4 +702,11 @@ socket_defined (const socket_descriptor_t sd) #define ENABLE_MEMSTATS #endif +/* + * Disable async-push if plugins are disabled + */ +#if !defined(ENABLE_PLUGIN) && defined(ENABLE_ASYNC_PUSH) +#undef ENABLE_ASYNC_PUSH +#endif + #endif -- 1.9.1 ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, SlashDot.org! http://sdm.link/slashdot _______________________________________________ Openvpn-devel mailing list Openvpn-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/openvpn-devel