mirror of
https://github.com/OpenVPN/openvpn.git
synced 2024-09-20 03:52:28 +02:00
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>
(cherry picked from commit cdb3a5c086
)
This commit is contained in:
parent
f05b6d3302
commit
89e0728ba6
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user