Populate connection Inbound attribute

This commit is contained in:
Daniel 2020-04-29 17:06:57 +02:00
parent 0e30d70d55
commit 580144a676

View file

@ -146,13 +146,13 @@ func NewConnectionFromFirstPacket(pkt packet.Packet) *Connection {
}
}
timestamp := time.Now().Unix()
return &Connection{
ID: pkt.GetConnectionID(),
Scope: scope,
Inbound: inbound,
Entity: entity,
process: proc,
Started: timestamp,
Started: time.Now().Unix(),
}
}