From 07e21b9170f4ef45af3070fdb671099dc2578b6e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=B8=96=E7=95=8C?= Date: Fri, 1 Aug 2025 16:46:29 +0800 Subject: [PATCH] Fix redirect panic --- redirect_nftables.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/redirect_nftables.go b/redirect_nftables.go index b2d54f9..ec4bf5d 100644 --- a/redirect_nftables.go +++ b/redirect_nftables.go @@ -308,7 +308,7 @@ func (r *autoRedirect) cleanupNFTables() { Name: r.tableName, Family: nftables.TableFamilyINet, }) - common.Must(r.configureOpenWRTFirewall4(nft, true)) + _ = r.configureOpenWRTFirewall4(nft, true) _ = nft.Flush() _ = nft.CloseLasting() }