Split unattributed connections into to Unidentified App and Network Noise

This commit is contained in:
Daniel
2022-03-09 15:44:54 +01:00
parent 014ac058ce
commit 7a9001b7de
11 changed files with 78 additions and 24 deletions

View File

@@ -18,7 +18,7 @@ func checkPID(socketInfo socket.Info, connInbound bool) (pid int, inbound bool,
for i := 0; i <= lookupRetries; i++ {
// look for PID
pid = proc.GetPID(socketInfo)
if pid != socket.UnidentifiedProcessID {
if pid != socket.UndefinedProcessID {
// if we found a PID, return
break
}