]> git.ipfire.org Git - thirdparty/openvpn.git/commitdiff
Fix loglevel of protect socket message
authorArne Schwabe <arne@rfc2549.org>
Tue, 15 Sep 2015 09:23:36 +0000 (11:23 +0200)
committerGert Doering <gert@greenie.muc.de>
Tue, 15 Sep 2015 11:07:31 +0000 (13:07 +0200)
Acked-by: Gert Doering <gert@greenie.muc.de>
Message-Id: <1442309019-7586-6-git-send-email-arne@rfc2549.org>
URL: http://article.gmane.org/gmane.network.openvpn.devel/10112

Signed-off-by: Gert Doering <gert@greenie.muc.de>
src/openvpn/socket.c

index 20edf41a79fe80b66b2aca70ab1107bdb43b1522..57d5962e4f0894eaf40d90eaa5dd2fafcdbe2d8e 100644 (file)
@@ -881,11 +881,11 @@ static void protect_fd_nonlocal (int fd, const struct sockaddr* addr)
    * as "protected socket" (exempt from being routed into tunnel)
    */
   if (addr_local (addr)) {
-    msg(M_DEBUG, "Address is local, not protecting socket fd %d", fd);
+    msg(D_SOCKET_DEBUG, "Address is local, not protecting socket fd %d", fd);
     return;
   }
 
-  msg(M_DEBUG, "Protecting socket fd %d", fd);
+  msg(D_SOCKET_DEBUG, "Protecting socket fd %d", fd);
   management->connection.fdtosend = fd;
   management_android_control (management, "PROTECTFD", __func__);
 }