From: Arne Schwabe Date: Sat, 2 Jun 2012 13:03:39 +0000 (+0200) Subject: Explain that route-nopull also causes the client to ignore dhcp options. X-Git-Tag: v2.3_alpha2~24 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=97235cc7077630004e11d6d44862c3bb7e49a40e;p=thirdparty%2Fopenvpn.git Explain that route-nopull also causes the client to ignore dhcp options. Signed-off-by: Arne Schwabe Acked-by: David Sommerseth Message-Id: 1338642223-20324-5-git-send-email-arne@rfc2549.org URL: http://article.gmane.org/gmane.network.openvpn.devel/6649 Signed-off-by: David Sommerseth --- diff --git a/doc/openvpn.8 b/doc/openvpn.8 index 24b1a2c41..f420d584d 100644 --- a/doc/openvpn.8 +++ b/doc/openvpn.8 @@ -1087,7 +1087,8 @@ When used with .B \-\-client or .B \-\-pull, -accept options pushed by server EXCEPT for routes. +accept options pushed by server EXCEPT for routes and dhcp options +like DNS servers. When used on the client, this option effectively bars the server from adding routes to the client's routing table, diff --git a/src/openvpn/options.c b/src/openvpn/options.c index 08f9cb27b..2f7083983 100644 --- a/src/openvpn/options.c +++ b/src/openvpn/options.c @@ -231,7 +231,7 @@ static const char usage_message[] = "--route-noexec : Don't add routes automatically. Instead pass routes to\n" " --route-up script using environmental variables.\n" "--route-nopull : When used with --client or --pull, accept options pushed\n" - " by server EXCEPT for routes.\n" + " by server EXCEPT for routes and dhcp options.\n" "--allow-pull-fqdn : Allow client to pull DNS names from server for\n" " --ifconfig, --route, and --route-gateway.\n" "--redirect-gateway [flags]: Automatically execute routing\n"