Remove concept of primary/virtual processes

Simplify single in flight for getting a process
This commit is contained in:
Daniel
2020-12-04 17:01:10 +01:00
parent 7334000e53
commit 8e34be70bb
3 changed files with 13 additions and 136 deletions

View File

@@ -24,7 +24,7 @@ func GetProcessByConnection(ctx context.Context, pktInfo *packet.Info) (process
return nil, pktInfo.Inbound, err
}
process, err = GetOrFindPrimaryProcess(ctx, pid)
process, err = GetOrFindProcess(ctx, pid)
if err != nil {
log.Tracer(ctx).Debugf("process: failed to find (primary) process with PID: %s", err)
return nil, connInbound, err