summaryrefslogtreecommitdiff
path: root/sysdep/unix/wg_user.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdep/unix/wg_user.c')
-rw-r--r--sysdep/unix/wg_user.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sysdep/unix/wg_user.c b/sysdep/unix/wg_user.c
index 5d4d59a0..01a0029a 100644
--- a/sysdep/unix/wg_user.c
+++ b/sysdep/unix/wg_user.c
@@ -42,6 +42,7 @@ bool wg_has_userspace(const char *ifname)
else
{
DBG(L_TRACE "WG: no socket %s", tmp);
+ log(L_TRACE "WG: no socket %s", tmp);
return false;
}
}
@@ -231,6 +232,7 @@ wg_user_set_device(struct pool *pool,
sock->tx_hook = user_tx_hook;
sock->err_hook = user_err_hook;
int res = sk_connect_unix(sock, path, pathlen);
+ log(L_TRACE "WG: socket %d %d %d %s", res, sock->fd, path[0], path + 1, pathlen);
DBG(L_TRACE "WG: socket %d %d %s", res, sock->fd, path);
if (res < 0)
{