summaryrefslogtreecommitdiff
path: root/vendor/github.com/vishvananda/netlink/rule.go
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/github.com/vishvananda/netlink/rule.go')
-rw-r--r--vendor/github.com/vishvananda/netlink/rule.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/vendor/github.com/vishvananda/netlink/rule.go b/vendor/github.com/vishvananda/netlink/rule.go
index f0243defd..7fc8ae5df 100644
--- a/vendor/github.com/vishvananda/netlink/rule.go
+++ b/vendor/github.com/vishvananda/netlink/rule.go
@@ -8,6 +8,7 @@ import (
// Rule represents a netlink rule.
type Rule struct {
Priority int
+ Family int
Table int
Mark int
Mask int
@@ -20,6 +21,7 @@ type Rule struct {
OifName string
SuppressIfgroup int
SuppressPrefixlen int
+ Invert bool
}
func (r Rule) String() string {