From 89e0728ba6057bfe45b635a42c36502e9edc8cb3 Mon Sep 17 00:00:00 2001 From: Gert Doering Date: Sat, 9 Apr 2011 18:16:21 +0200 Subject: Add more detailed explanation regarding the function of "--rdns-internal" MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit As agreed in last thursday's IRC meetingĀ [1], I've added a comment to the code explaining "--rdns-internal". It's really very much an internal option, so it does not need to go to the man page. [1] http://thread.gmane.org/gmane.network.openvpn.devel/4573 Signed-off-by: Gert Doering Acked-by: David Sommerseth Signed-off-by: David Sommerseth (cherry picked from commit cdb3a5c0864e0fe8d0b814de1f024fd624dd3b1c) --- options.c | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/options.c b/options.c index 36e8393..1117a0a 100644 --- a/options.c +++ b/options.c @@ -5343,7 +5343,13 @@ add_option (struct options *options, VERIFY_PERMISSION (OPT_P_IPWIN32); options->tuntap_options.register_dns = true; } - else if (streq (p[0], "rdns-internal")) /* standalone method for internal use */ + else if (streq (p[0], "rdns-internal")) + /* standalone method for internal use + * + * (if --register-dns is set, openvpn needs to call itself in a + * sub-process to execute the required functions in a non-blocking + * way, and uses --rdns-internal to signal that to itself) + */ { VERIFY_PERMISSION (OPT_P_GENERAL); set_debug_level (options->verbosity, SDL_CONSTRAIN); -- cgit v1.2.3