mirror of
https://github.com/rancher/plugins.git
synced 2025-09-03 19:29:43 +00:00
vendor: bump ginkgo, gover
Signed-off-by: Casey Callendrello <cdc@redhat.com>
This commit is contained in:
8
vendor/golang.org/x/net/ipv4/genericopt.go
generated
vendored
8
vendor/golang.org/x/net/ipv4/genericopt.go
generated
vendored
@@ -11,7 +11,7 @@ func (c *genericOpt) TOS() (int, error) {
|
||||
}
|
||||
so, ok := sockOpts[ssoTOS]
|
||||
if !ok {
|
||||
return 0, errOpNoSupport
|
||||
return 0, errNotImplemented
|
||||
}
|
||||
return so.GetInt(c.Conn)
|
||||
}
|
||||
@@ -24,7 +24,7 @@ func (c *genericOpt) SetTOS(tos int) error {
|
||||
}
|
||||
so, ok := sockOpts[ssoTOS]
|
||||
if !ok {
|
||||
return errOpNoSupport
|
||||
return errNotImplemented
|
||||
}
|
||||
return so.SetInt(c.Conn, tos)
|
||||
}
|
||||
@@ -36,7 +36,7 @@ func (c *genericOpt) TTL() (int, error) {
|
||||
}
|
||||
so, ok := sockOpts[ssoTTL]
|
||||
if !ok {
|
||||
return 0, errOpNoSupport
|
||||
return 0, errNotImplemented
|
||||
}
|
||||
return so.GetInt(c.Conn)
|
||||
}
|
||||
@@ -49,7 +49,7 @@ func (c *genericOpt) SetTTL(ttl int) error {
|
||||
}
|
||||
so, ok := sockOpts[ssoTTL]
|
||||
if !ok {
|
||||
return errOpNoSupport
|
||||
return errNotImplemented
|
||||
}
|
||||
return so.SetInt(c.Conn, ttl)
|
||||
}
|
||||
|
Reference in New Issue
Block a user