[Openvpn-devel] Ignore --pull-filter for --mode server

Message ID 20191024174414.18821-1-tincanteksup@gmail.com
State Changes Requested
Headers show
Series [Openvpn-devel] Ignore --pull-filter for --mode server | expand

Commit Message

tincanteksup Oct. 24, 2019, 6:44 a.m. UTC
Closes trac#1164

Signed-off-by: Richard Bonhomme <tincanteksup@gmail.com>
---
 src/openvpn/options.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Patch

diff --git a/src/openvpn/options.c b/src/openvpn/options.c
index 752f5f2c..796e632e 100644
--- a/src/openvpn/options.c
+++ b/src/openvpn/options.c
@@ -2233,7 +2233,7 @@  options_postprocess_verify_ce(const struct options *options, const struct connec
         }
         if (options->pull_filter_list)
         {
-            msg(M_USAGE, "--pull-filter cannot be used with --mode server");
+            msg(M_WARN, "--pull-filter ignored for --mode server");
         }
         if (!(proto_is_udp(ce->proto) || ce->proto == PROTO_TCP_SERVER))
         {