mirror of
https://github.com/luscis/openlan.git
synced 2025-10-25 18:01:53 +08:00
fea: access for ceci.
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