Fix non-port based rules processing. Add rules clean up call.

This commit is contained in:
Givi Khojanashvili
2023-03-21 11:33:35 +04:00
parent 64bf7699e6
commit 559cf2862f
3 changed files with 37 additions and 18 deletions
+3
View File
@@ -39,6 +39,9 @@ const (
// Netbird client for ACL and routing functionality
type Manager interface {
// AddFiltering rule to the firewall
//
// If comment argument is empty firewall manager should set
// rule ID as comment for the rule
AddFiltering(
ip net.IP,
port *Port,