Explicitly reject detour to empty direct outbounds

This commit is contained in:
世界
2025-07-08 13:12:28 +08:00
parent d2dc3ddf72
commit fb622ccbdf
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()
}
}