Fix redirect panic

This commit is contained in:
世界 2025-08-01 16:46:29 +08:00
parent ebbe32588c
commit 07e21b9170
No known key found for this signature in database
GPG key ID: CD109927C34A63C4

View file

@ -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()
}