[client] Add DNS and Exit Node collection configuration to Netflow (#3522)

[client] Add DNS and Exit Node collection configuration to Netflow (#3522)
This commit is contained in:
hakansa
2025-03-17 23:44:22 +08:00
committed by GitHub
parent 40d932e011
commit f88b93e53f
6 changed files with 75 additions and 32 deletions
+2
View File
@@ -122,6 +122,8 @@ func (m *Manager) Update(update *nftypes.FlowConfig) error {
previous := m.flowConfig
m.flowConfig = update
m.logger.UpdateConfig(update.DNSCollection, update.ExitNodeCollection)
if update.Enabled {
return m.enableFlow(previous)
}