aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGert Doering <gert@greenie.muc.de>2011-04-09 18:16:21 +0200
committerDavid Sommerseth <davids@redhat.com>2011-04-14 16:49:30 +0200
commitcdb3a5c0864e0fe8d0b814de1f024fd624dd3b1c (patch)
treee04b5d78ef08cd00f008ad0a1b2a4b468d75eec4
parentChange all CRLF linefeeds to LF linefeeds (diff)
downloadopenvpn-cdb3a5c0864e0fe8d0b814de1f024fd624dd3b1c.tar.xz
Add more detailed explanation regarding the function of "--rdns-internal"
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 <gert@greenie.muc.de> Acked-by: David Sommerseth <davids@redhat.com> Signed-off-by: David Sommerseth <davids@redhat.com>
-rw-r--r--options.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/options.c b/options.c
index f489755..deb6d23 100644
--- a/options.c
+++ b/options.c
@@ -5352,7 +5352,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);