From: Selva Nair <selva.n...@gmail.com> Signed-off-by: Selva Nair <selva.n...@gmail.com> --- src/openvpn/options.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/openvpn/options.c b/src/openvpn/options.c index f7995c6..c5bce9f 100644 --- a/src/openvpn/options.c +++ b/src/openvpn/options.c @@ -2171,7 +2171,8 @@ options_postprocess_verify_ce(const struct options *options, const struct connec msg(M_USAGE, "--management-client-(user|group) can only be used on unix domain sockets"); } - if (!(options->management_flags & MF_UNIX_SOCK) + if (options->management_addr + && !(options->management_flags & MF_UNIX_SOCK) && (!options->management_user_pass)) { msg(M_WARN, "WARNING: Using --management on a TCP port WITHOUT " -- 2.1.4 ------------------------------------------------------------------------------ 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