diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2017-05-31 04:25:55 +0200 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2017-05-31 05:36:21 +0200 |
commit | c0ad0d970830ac680bed6f143743096be82cef51 (patch) | |
tree | 0a5e2ec73552781e8c0a263c822e99bbe4095c14 /src/cookie.c | |
parent | bf4c1698b732ef22266f608db1286149e20bd6e2 (diff) |
debug: print interface name in dmesg
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'src/cookie.c')
-rw-r--r-- | src/cookie.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cookie.c b/src/cookie.c index 2046493..21b7c7b 100644 --- a/src/cookie.c +++ b/src/cookie.c @@ -193,7 +193,7 @@ void cookie_message_consume(struct message_handshake_cookie *src, struct wiregua entry->peer->latest_cookie.have_sent_mac1 = false; up_write(&entry->peer->latest_cookie.lock); } else - net_dbg_ratelimited("Could not decrypt invalid cookie response\n"); + net_dbg_ratelimited("%s: Could not decrypt invalid cookie response\n", netdev_pub(wg)->name); out: peer_put(entry->peer); |