diff options
Diffstat (limited to 'src/receive.c')
-rw-r--r-- | src/receive.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/receive.c b/src/receive.c index dde4109..c63b7a9 100644 --- a/src/receive.c +++ b/src/receive.c @@ -597,8 +597,7 @@ void wg_packet_receive(struct wg_device *wg, struct sk_buff *skb) wg_packet_consume_data(wg, skb); break; default: - net_dbg_skb_ratelimited("%s: Invalid packet from %pISpfsc\n", - wg->dev->name, skb); + WARN(1, "Non-exhaustive parsing of packet header lead to unknown packet type!\n"); goto err; } return; |