From cb0e4cfbd5f9e197b15ef076650ab4de93aa38d8 Mon Sep 17 00:00:00 2001 From: asxalex Date: Fri, 24 Apr 2026 00:17:37 +0800 Subject: [PATCH] fix windows route delete's missing mask --- src/network/tun_win.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/network/tun_win.rs b/src/network/tun_win.rs index c35f9b6..b0dc997 100755 --- a/src/network/tun_win.rs +++ b/src/network/tun_win.rs @@ -789,6 +789,7 @@ pub fn del_route(net: &Ipv4Net, gw: &Ipv4Addr) -> Result<()> { let res = Command::new("route") .arg("delete") .arg(network) + .arg("MASK") .arg(mask) .arg(gw.to_string()) .output()?;