mirror of
https://github.com/shtorm-7/sing-box-extended.git
synced 2026-12-05 08:04:11 +00:00
Track process rules in updated rule-sets
This commit is contained in:
@@ -36,7 +36,7 @@ func (r *Router) findProcessInfoCached(ctx context.Context, network string, sour
|
||||
}
|
||||
|
||||
func (r *Router) searchProcessInfo(ctx context.Context, metadata *adapter.InboundContext) {
|
||||
if r.processSearcher == nil || metadata.ProcessInfo != nil || !r.isLocalSource(metadata.Source.Addr) {
|
||||
if r.processSearcher == nil || metadata.ProcessInfo != nil || !r.NeedFindProcess() || !r.isLocalSource(metadata.Source.Addr) {
|
||||
return
|
||||
}
|
||||
var originDestination netip.AddrPort
|
||||
|
||||
Reference in New Issue
Block a user