]> git.ipfire.org Git - thirdparty/openvpn.git/commitdiff
Minor addition of logging info before and after
authorJames Yonan <james@openvpn.net>
Fri, 10 Dec 2010 21:17:36 +0000 (21:17 +0000)
committerDavid Sommerseth <dazo@users.sourceforge.net>
Mon, 20 Dec 2010 12:36:03 +0000 (13:36 +0100)
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)

tun.c

diff --git a/tun.c b/tun.c
index 0e4476e56b997dbc0acef959a9d75e1b22da1e1a..59e87dc75a7281ddf42cd428ec0ef67d43936712 100644 (file)
--- 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