From 580144a6764daea58fac72bca58dd6483bfb776c Mon Sep 17 00:00:00 2001 From: Daniel Date: Wed, 29 Apr 2020 17:06:57 +0200 Subject: [PATCH] Populate connection Inbound attribute --- network/connection.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/network/connection.go b/network/connection.go index f24a22e9..bb5529f1 100644 --- a/network/connection.go +++ b/network/connection.go @@ -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(), } }