[client] add resource id fields to netflow events

This commit is contained in:
Hakan Sariman
2025-03-05 20:35:52 +03:00
parent 2d4fcaf186
commit e7f921d787
10 changed files with 86 additions and 27 deletions
+1 -1
View File
@@ -353,7 +353,7 @@ func (e *Engine) Start() error {
// start flow manager right after interface creation
publicKey := e.config.WgPrivateKey.PublicKey()
e.flowManager = netflow.NewManager(e.ctx, e.wgInterface, publicKey[:])
e.flowManager = netflow.NewManager(e.ctx, e.wgInterface, publicKey[:], e.statusRecorder)
if e.config.RosenpassEnabled {
log.Infof("rosenpass is enabled")