mirror of
https://github.com/netbirdio/netbird.git
synced 2026-10-23 05:49:07 +02:00
[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:
@@ -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)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user