aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Yonan <james@openvpn.net>2010-12-10 21:17:36 +0000
committerDavid Sommerseth <dazo@users.sourceforge.net>2010-12-20 13:36:03 +0100
commitbc454059ce843c580dee2141813b4e82d45fcbc3 (patch)
treed14fabc40123753f7a18e6b264167ede9452c492
parentMake the --x509-username-field feature an opt-in feature (diff)
downloadopenvpn-bc454059ce843c580dee2141813b4e82d45fcbc3.tar.xz
Minor addition of logging info before and after
execution of Windows net commands. Version 2.1.3d git-svn-id: http://svn.openvpn.net/projects/openvpn/branches/BETA21/openvpn@6712 e7ae566f-a301-0410-adde-c780ea21d3b5 Signed-off-by: David Sommerseth <dazo@users.sourceforge.net> (cherry picked from commit 7621741b480f93411928c66735d2ee9c7f69de3b)
-rw-r--r--tun.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/tun.c b/tun.c
index 0e4476e..59e87dc 100644
--- a/tun.c
+++ b/tun.c
@@ -3481,6 +3481,7 @@ ipconfig_register_dns (const struct env_set *es)
bool status;
const char err[] = "ERROR: Windows ipconfig command failed";
+ msg (D_TUNTAP_INFO, "Start net commands...");
netcmd_semaphore_lock ();
argv_init (&argv);
@@ -3514,6 +3515,7 @@ ipconfig_register_dns (const struct env_set *es)
argv_reset(&argv);
netcmd_semaphore_release ();
+ msg (D_TUNTAP_INFO, "End net commands...");
}
void