summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorArne Schwabe <arne@rfc2549.org>2015-09-15 11:23:36 +0200
committerGert Doering <gert@greenie.muc.de>2015-09-15 13:07:31 +0200
commitacd487d0f3597e67f451aa23b73ad03dc19842b0 (patch)
treedcccee5084cfa8697e6688fb5c5500895c38aac9
parentad80d6779488e77bc81f395f61d4052184f9a589 (diff)
downloadopenvpn-acd487d0f3597e67f451aa23b73ad03dc19842b0.zip
openvpn-acd487d0f3597e67f451aa23b73ad03dc19842b0.tar.gz
openvpn-acd487d0f3597e67f451aa23b73ad03dc19842b0.tar.xz
Fix loglevel of protect socket message
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>
-rw-r--r--src/openvpn/socket.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/openvpn/socket.c b/src/openvpn/socket.c
index 20edf41..57d5962 100644
--- a/src/openvpn/socket.c
+++ b/src/openvpn/socket.c
@@ -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__);
}