Populate connection Inbound attribute
This commit is contained in:
@@ -146,13 +146,13 @@ func NewConnectionFromFirstPacket(pkt packet.Packet) *Connection {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
timestamp := time.Now().Unix()
|
|
||||||
return &Connection{
|
return &Connection{
|
||||||
ID: pkt.GetConnectionID(),
|
ID: pkt.GetConnectionID(),
|
||||||
Scope: scope,
|
Scope: scope,
|
||||||
|
Inbound: inbound,
|
||||||
Entity: entity,
|
Entity: entity,
|
||||||
process: proc,
|
process: proc,
|
||||||
Started: timestamp,
|
Started: time.Now().Unix(),
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user