summaryrefslogtreecommitdiffstatshomepage
path: root/src/device.c
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2016-11-16 05:43:09 +0100
committerJason A. Donenfeld <Jason@zx2c4.com>2016-11-16 05:43:09 +0100
commitdf8e6b57aad30a5d204ff2e96dd8534e5f2c9f15 (patch)
tree62ae695add024e63730b2f710a07a5f55a26b2cf /src/device.c
parentdevice: we need NONE for libpcap (diff)
downloadwireguard-monolithic-historical-df8e6b57aad30a5d204ff2e96dd8534e5f2c9f15.tar.xz
wireguard-monolithic-historical-df8e6b57aad30a5d204ff2e96dd8534e5f2c9f15.zip
device: better debug message
Diffstat (limited to '')
-rw-r--r--src/device.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/device.c b/src/device.c
index 252ca05..e72f783 100644
--- a/src/device.c
+++ b/src/device.c
@@ -118,7 +118,7 @@ static netdev_tx_t xmit(struct sk_buff *skb, struct net_device *dev)
ret = peer->endpoint.addr_storage.ss_family != AF_INET && peer->endpoint.addr_storage.ss_family != AF_INET6;
read_unlock_bh(&peer->endpoint_lock);
if (unlikely(ret)) {
- net_dbg_ratelimited("No valid endpoint has been configured or discovered for device\n");
+ net_dbg_ratelimited("No valid endpoint has been configured or discovered for peer %Lu\n", peer->internal_id);
skb_unsendable(skb, dev);
peer_put(peer);
return -EHOSTUNREACH;