Fix incoming TCP connection direction
This fixes a bug where incoming TCP connections without a matching process would be falsely classified as an outgoing connection.
This commit is contained in:
@@ -107,7 +107,7 @@ func (table *tcpTable) lookup(pktInfo *packet.Info) (
|
||||
}
|
||||
}
|
||||
|
||||
return socket.UnidentifiedProcessID, false, ErrConnectionNotFound
|
||||
return socket.UnidentifiedProcessID, pktInfo.Inbound, ErrConnectionNotFound
|
||||
}
|
||||
|
||||
func (table *udpTable) lookup(pktInfo *packet.Info) (
|
||||
|
||||
Reference in New Issue
Block a user