mirror of
https://github.com/netbirdio/netbird.git
synced 2024-12-15 03:11:02 +01:00
006ba32086
Fix ACL on routed traffic and code refactor
17 lines
247 B
Go
17 lines
247 B
Go
package iptables
|
|
|
|
// Rule to handle management of rules
|
|
type Rule struct {
|
|
ruleID string
|
|
ipsetName string
|
|
|
|
specs []string
|
|
ip string
|
|
chain string
|
|
}
|
|
|
|
// GetRuleID returns the rule id
|
|
func (r *Rule) GetRuleID() string {
|
|
return r.ruleID
|
|
}
|