From 0564a10c13a584aef82a30d5eee7732ab7832211 Mon Sep 17 00:00:00 2001 From: Mikael Magnusson Date: Wed, 13 May 2020 23:56:22 +0200 Subject: WIP debug socket --- sysdep/unix/wg_user.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sysdep/unix/wg_user.c') diff --git a/sysdep/unix/wg_user.c b/sysdep/unix/wg_user.c index c4bec9ce..098c32e2 100644 --- a/sysdep/unix/wg_user.c +++ b/sysdep/unix/wg_user.c @@ -241,7 +241,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 %s %d %d %d %s %d", strerror(errno), res, errno, sock->fd, path[0], path + 1, pathlen); + log(L_TRACE "WG: socket %s %d %d %d %s %d %s %d", strerror(errno), res, errno, sock->fd, ifname, path[0], path + 1, pathlen); DBG(L_TRACE "WG: socket %d %d %s", res, sock->fd, path); if (res < 0) { -- cgit v1.2.3