mirror of
https://github.com/netbirdio/netbird.git
synced 2024-12-11 01:11:13 +01:00
ba7a39a4fc
Update the client's engine to apply firewall rules received from the manager (results of ACL policy).
15 lines
216 B
Go
15 lines
216 B
Go
package iptables
|
|
|
|
// Rule to handle management of rules
|
|
type Rule struct {
|
|
id string
|
|
specs []string
|
|
dst bool
|
|
v6 bool
|
|
}
|
|
|
|
// GetRuleID returns the rule id
|
|
func (r *Rule) GetRuleID() string {
|
|
return r.id
|
|
}
|