From 35174a8ba85b6fd7dd3d28733028729d901dff33 Mon Sep 17 00:00:00 2001 From: Cameron Moore Date: Thu, 16 Jan 2020 15:44:49 -0600 Subject: http: Fix ciphersuite logging --- modules/caddyhttp/marshalers.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/caddyhttp/marshalers.go') diff --git a/modules/caddyhttp/marshalers.go b/modules/caddyhttp/marshalers.go index a672132..e35a73e 100644 --- a/modules/caddyhttp/marshalers.go +++ b/modules/caddyhttp/marshalers.go @@ -73,7 +73,7 @@ type LoggableTLSConnState tls.ConnectionState func (t LoggableTLSConnState) MarshalLogObject(enc zapcore.ObjectEncoder) error { enc.AddBool("resumed", t.DidResume) enc.AddUint16("version", t.Version) - enc.AddUint16("resumed", t.CipherSuite) + enc.AddUint16("ciphersuite", t.CipherSuite) enc.AddString("proto", t.NegotiatedProtocol) enc.AddBool("proto_mutual", t.NegotiatedProtocolIsMutual) enc.AddString("server_name", t.ServerName) -- cgit v1.2.3