diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2016-11-06 18:39:28 +0100 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2016-11-06 18:39:28 +0100 |
commit | 422f3c16d74f361b12d4ff76864c639908d4ff90 (patch) | |
tree | 93f75246c01ff9d2cab125df2acee8fd704900e4 /src/send.c | |
parent | cookie: avoid void pointer arithmatic (diff) | |
download | wireguard-monolithic-historical-422f3c16d74f361b12d4ff76864c639908d4ff90.tar.xz wireguard-monolithic-historical-422f3c16d74f361b12d4ff76864c639908d4ff90.zip |
debug: support dynamic debug on skb addr
Diffstat (limited to '')
-rw-r--r-- | src/send.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -75,7 +75,7 @@ void packet_send_handshake_cookie(struct wireguard_device *wg, struct sk_buff *i { struct message_handshake_cookie packet; -#ifdef DEBUG +#if defined(CONFIG_DYNAMIC_DEBUG) || defined(DEBUG) struct sockaddr_storage addr = { 0 }; socket_addr_from_skb(&addr, initiating_skb); net_dbg_ratelimited("Sending cookie response for denied handshake message for %pISpfsc\n", &addr); |