diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2016-08-16 19:18:14 +0200 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2016-08-16 19:18:14 +0200 |
commit | e7c1aac62b8ffc3480baeecd036120da4de8f516 (patch) | |
tree | 511c6d59f984fd5eb0c323ba3d81fb1a7e0563d0 | |
parent | 61b57c7c8c3f8f10b7e4ab313f31d345931863cc (diff) |
send: needless debugging check
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
-rw-r--r-- | src/send.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -78,8 +78,7 @@ void packet_send_handshake_cookie(struct wireguard_device *wg, struct sk_buff *i #ifdef DEBUG struct sockaddr_storage addr = { 0 }; - if (initiating_skb) - socket_addr_from_skb(&addr, initiating_skb); + socket_addr_from_skb(&addr, initiating_skb); net_dbg_ratelimited("Sending cookie response for denied handshake message for %pISpfsc\n", &addr); #endif cookie_message_create(&packet, initiating_skb, data, data_len, sender_index, &wg->cookie_checker); |