Files
netbird/client/firewall/iptables/rule.go

19 lines
298 B
Go

package iptables
// Rule to handle management of rules
type Rule struct {
ruleID string
ipsetName string
specs []string
mangleSpecs []string
ip string
chain string
v6 bool
}
// GetRuleID returns the rule id
func (r *Rule) ID() string {
return r.ruleID
}