From 880873aeeabeeb1622e8db7e2ce060a4fd842b5c Mon Sep 17 00:00:00 2001 From: dev0 Date: Mon, 1 Jan 2024 05:10:10 +1100 Subject: [PATCH] fix --- clash_lib/src/proxy/wg/device.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/clash_lib/src/proxy/wg/device.rs b/clash_lib/src/proxy/wg/device.rs index 8bd92970b..32d853411 100644 --- a/clash_lib/src/proxy/wg/device.rs +++ b/clash_lib/src/proxy/wg/device.rs @@ -446,6 +446,9 @@ impl DeviceManager { trace!("no more data"); continue; } + Err(udp::RecvError::Truncated) => { + panic!("udp packet truncated - this should never happen"); + } } }