summaryrefslogtreecommitdiffhomepage
path: root/src/cookie.c
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2017-05-31 04:25:55 +0200
committerJason A. Donenfeld <Jason@zx2c4.com>2017-05-31 05:36:21 +0200
commitc0ad0d970830ac680bed6f143743096be82cef51 (patch)
tree0a5e2ec73552781e8c0a263c822e99bbe4095c14 /src/cookie.c
parentbf4c1698b732ef22266f608db1286149e20bd6e2 (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.c2
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);