Explicitly reject detour to empty direct outbounds

This commit is contained in:
世界
2025-05-23 11:02:50 +08:00
parent 174a73749e
commit 02727c2e5e
20 changed files with 142 additions and 65 deletions
+1 -1
View File
@@ -456,6 +456,6 @@ func (r *Router) LookupReverseMapping(ip netip.Addr) (string, bool) {
func (r *Router) ResetNetwork() {
r.ClearCache()
for _, transport := range r.transport.Transports() {
transport.Reset()
transport.Close()
}
}