Hi,

On Tue, Mar 29, 2011 at 01:15:39PM +0200, David Sommerseth wrote:
> I have checked the man page against the options OpenVPN 2.2 supports and
> cross-checked it against the man page.  There are quite some features which
> are not documented at all in the man page, and this should be fixed.
> 
> <https://community.openvpn.net/openvpn/wiki/ManPageUpdatesFor2.2>

As agreed in last thursday's IRC meeting, 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.

gert
---
From 55cdbb7e67db3b98723917fd9810a94874d8de21 Mon Sep 17 00:00:00 2001
From: Gert Doering <g...@greenie.muc.de>
List-Post: openvpn-devel@lists.sourceforge.net
Date: Sat, 9 Apr 2011 18:16:21 +0200
Subject: [PATCH] add more detailed explanation regarding the function of 
"--rdns-internal",
 as agreed on the IRC meeting.

Signed-off-by: Gert Doering <g...@greenie.muc.de>
---
 options.c |    8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)

diff --git a/options.c b/options.c
index 524c781..6351257 100644
--- a/options.c
+++ b/options.c
@@ -5339,7 +5339,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);
-- 
1.7.3.4

-- 
USENET is *not* the non-clickable part of WWW!
                                                           //www.muc.de/~gert/
Gert Doering - Munich, Germany                             g...@greenie.muc.de
fax: +49-89-35655025                        g...@net.informatik.tu-muenchen.de

Attachment: pgpK1TBIklfiB.pgp
Description: PGP signature

Reply via email to