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 | 468424d08834cac9a5b494dc88048da1af110af3 (patch) | |
tree | 1756182a7f1cb1bf349137e9fa1f3ec975d60241 /src/device.c | |
parent | f7483321a25f8ce8e919ff635798db75976a11e5 (diff) |
debug: support dynamic debug on skb addr
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'src/device.c')
-rw-r--r-- | src/device.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/device.c b/src/device.c index 41df285..46d6704 100644 --- a/src/device.c +++ b/src/device.c @@ -111,7 +111,7 @@ static netdev_tx_t xmit(struct sk_buff *skb, struct net_device *dev) peer = routing_table_lookup_dst(&wg->peer_routing_table, skb); if (unlikely(!peer)) { -#ifdef DEBUG +#if defined(CONFIG_DYNAMIC_DEBUG) || defined(DEBUG) struct sockaddr_storage addr; socket_addr_from_skb(&addr, skb); net_dbg_ratelimited("No peer is configured for %pISc\n", &addr); |