This commit is contained in:
Simon Ser 2020-12-08 17:03:58 +01:00
parent e8f71081cb
commit d2dffca48f
No known key found for this signature in database
GPG Key ID: 0FDE7BE0E88F5E48
1 changed files with 1 additions and 1 deletions

View File

@ -266,7 +266,7 @@ func authorityTLV(name string) proxyproto.TLV {
func alpnTLV(proto string) proxyproto.TLV { func alpnTLV(proto string) proxyproto.TLV {
return proxyproto.TLV{ return proxyproto.TLV{
Type: proxyproto.PP2_TYPE_ALPN, Type: proxyproto.PP2_TYPE_ALPN,
Value: []byte(proto), Value: []byte(proto),
} }
} }