Update dependencies
This commit is contained in:
parent
7ad76273c0
commit
540efa03c4
485 changed files with 57821 additions and 12429 deletions
8
vendor/golang.org/x/net/ipv6/genericopt.go
generated
vendored
8
vendor/golang.org/x/net/ipv6/genericopt.go
generated
vendored
|
@ -12,7 +12,7 @@ func (c *genericOpt) TrafficClass() (int, error) {
|
|||
}
|
||||
so, ok := sockOpts[ssoTrafficClass]
|
||||
if !ok {
|
||||
return 0, errOpNoSupport
|
||||
return 0, errNotImplemented
|
||||
}
|
||||
return so.GetInt(c.Conn)
|
||||
}
|
||||
|
@ -25,7 +25,7 @@ func (c *genericOpt) SetTrafficClass(tclass int) error {
|
|||
}
|
||||
so, ok := sockOpts[ssoTrafficClass]
|
||||
if !ok {
|
||||
return errOpNoSupport
|
||||
return errNotImplemented
|
||||
}
|
||||
return so.SetInt(c.Conn, tclass)
|
||||
}
|
||||
|
@ -37,7 +37,7 @@ func (c *genericOpt) HopLimit() (int, error) {
|
|||
}
|
||||
so, ok := sockOpts[ssoHopLimit]
|
||||
if !ok {
|
||||
return 0, errOpNoSupport
|
||||
return 0, errNotImplemented
|
||||
}
|
||||
return so.GetInt(c.Conn)
|
||||
}
|
||||
|
@ -50,7 +50,7 @@ func (c *genericOpt) SetHopLimit(hoplim int) error {
|
|||
}
|
||||
so, ok := sockOpts[ssoHopLimit]
|
||||
if !ok {
|
||||
return errOpNoSupport
|
||||
return errNotImplemented
|
||||
}
|
||||
return so.SetInt(c.Conn, hoplim)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue