mirror of
https://github.com/safing/portmaster
synced 2025-09-01 18:19:12 +00:00
Populate connection Inbound attribute
This commit is contained in:
parent
0e30d70d55
commit
580144a676
1 changed files with 2 additions and 2 deletions
|
@ -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(),
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue