From: James Yonan Date: Fri, 10 Dec 2010 21:17:36 +0000 (+0000) Subject: Minor addition of logging info before and after X-Git-Tag: v2.2-RC~18 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bc454059ce843c580dee2141813b4e82d45fcbc3;p=thirdparty%2Fopenvpn.git 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 (cherry picked from commit 7621741b480f93411928c66735d2ee9c7f69de3b) --- diff --git a/tun.c b/tun.c index 0e4476e56..59e87dc75 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