Explicitly reject detour to empty direct outbounds

This commit is contained in:
世界
2025-04-25 11:56:11 +08:00
parent bbe6ded13c
commit b37f4b68d5
20 changed files with 142 additions and 65 deletions
+1 -1
View File
@@ -449,6 +449,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()
}
}