summaryrefslogtreecommitdiff
path: root/vendor/github.com/vishvananda/netlink/route.go
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2020-01-23 06:15:11 -0800
committerGitHub <noreply@github.com>2020-01-23 06:15:11 -0800
commit8098cbbee192e644de505e62c4aa0341f4acb4a5 (patch)
tree50af7ba7e829ab4d6fc9ba143e13f79dc04f4f64 /vendor/github.com/vishvananda/netlink/route.go
parentc5f3899cb4133922a9732aff4680bb7eea3d391b (diff)
parent9f927c4709a51ef72d84bb557fc371d535c19fba (diff)
downloadpodman-8098cbbee192e644de505e62c4aa0341f4acb4a5.tar.gz
podman-8098cbbee192e644de505e62c4aa0341f4acb4a5.tar.bz2
podman-8098cbbee192e644de505e62c4aa0341f4acb4a5.zip
Merge pull request #4946 from containers/dependabot/go_modules/github.com/vishvananda/netlink-1.1.0
build(deps): bump github.com/vishvananda/netlink from 1.0.0 to 1.1.0
Diffstat (limited to 'vendor/github.com/vishvananda/netlink/route.go')
-rw-r--r--vendor/github.com/vishvananda/netlink/route.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/vendor/github.com/vishvananda/netlink/route.go b/vendor/github.com/vishvananda/netlink/route.go
index 2cd58ee33..58ff1af60 100644
--- a/vendor/github.com/vishvananda/netlink/route.go
+++ b/vendor/github.com/vishvananda/netlink/route.go
@@ -47,6 +47,7 @@ type Route struct {
Encap Encap
MTU int
AdvMSS int
+ Hoplimit int
}
func (r Route) String() string {
@@ -89,6 +90,7 @@ func (r Route) Equal(x Route) bool {
r.Table == x.Table &&
r.Type == x.Type &&
r.Tos == x.Tos &&
+ r.Hoplimit == x.Hoplimit &&
r.Flags == x.Flags &&
(r.MPLSDst == x.MPLSDst || (r.MPLSDst != nil && x.MPLSDst != nil && *r.MPLSDst == *x.MPLSDst)) &&
(r.NewDst == x.NewDst || (r.NewDst != nil && r.NewDst.Equal(x.NewDst))) &&