chore(deps): upgrade vishvananda/netlink from v1.2.1-beta.2 to v1.2.1

This commit is contained in:
Quentin McGaw
2024-08-23 06:46:29 +00:00
parent 703a546c1d
commit 540acc915d
10 changed files with 24 additions and 22 deletions

View File

@@ -36,7 +36,7 @@ type Rule struct {
Priority int
Family int
Table int
Mark int
Mark uint32
Src netip.Prefix
Dst netip.Prefix
Invert bool
@@ -44,12 +44,12 @@ type Rule struct {
func (r Rule) String() string {
from := "all"
if r.Src.IsValid() {
if r.Src.IsValid() && !r.Src.Addr().IsUnspecified() {
from = r.Src.String()
}
to := "all"
if r.Dst.IsValid() {
if r.Dst.IsValid() && !r.Dst.Addr().IsUnspecified() {
to = r.Dst.String()
}