1
1
Fork 0
mirror of https://git.sr.ht/~emersion/tlstunnel synced 2024-05-11 05:26:22 +02:00
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

View File

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