mirror of
https://github.com/netbirdio/netbird.git
synced 2024-12-11 09:21:49 +01:00
14 lines
204 B
Go
14 lines
204 B
Go
|
package iptables
|
||
|
|
||
|
// Rule to handle management of rules
|
||
|
type Rule struct {
|
||
|
id string
|
||
|
specs []string
|
||
|
v6 bool
|
||
|
}
|
||
|
|
||
|
// GetRuleID returns the rule id
|
||
|
func (r *Rule) GetRuleID() string {
|
||
|
return r.id
|
||
|
}
|