Allow to set firewall log level

This commit is contained in:
Viktor Liu
2025-01-03 16:02:33 +01:00
parent 3ce39905c6
commit f26b418e83
7 changed files with 34 additions and 0 deletions

View File

@@ -312,6 +312,11 @@ func (m *Manager) cleanupNetbirdTables() error {
return nil
}
// SetLogLevel sets the log level for the firewall manager
func (m *Manager) SetLogLevel(log.Level) {
// not supported
}
// Flush rule/chain/set operations from the buffer
//
// Method also get all rules after flush and refreshes handle values in the rulesets