summaryrefslogtreecommitdiffhomepage
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
commitf9c168da7e9905ec397c857dc2a2133047d2ea65 (patch)
tree2fc9d1c863533e0656200d8e873e95afe1ca6060 /src/device.c
parent09589ebbb1001edc8be52c45545a70ccd5d4eba6 (diff)
device: better debug message
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'src/device.c')
-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;