mirror of
https://github.com/slackhq/nebula.git
synced 2026-05-16 04:47:38 +02:00
fix
This commit is contained in:
@@ -117,7 +117,8 @@ func QueueCapabilities(q Queue) Capabilities {
|
||||
type GSOProto uint8
|
||||
|
||||
const (
|
||||
GSOProtoTCP GSOProto = iota
|
||||
GSOProtoNone GSOProto = iota
|
||||
GSOProtoTCP
|
||||
GSOProtoUDP
|
||||
)
|
||||
|
||||
@@ -165,6 +166,7 @@ func SupportsGSO(w any, want GSOProto) (GSOWriter, bool) {
|
||||
return gw, caps.TSO
|
||||
case GSOProtoUDP:
|
||||
return gw, caps.USO
|
||||
default:
|
||||
return gw, false
|
||||
}
|
||||
return gw, false
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user