summaryrefslogtreecommitdiff
path: root/modules/caddyhttp/marshalers.go
diff options
context:
space:
mode:
authorCameron Moore <moorereason@gmail.com>2020-01-16 15:44:49 -0600
committerCameron Moore <moorereason@gmail.com>2020-01-16 15:44:49 -0600
commit35174a8ba85b6fd7dd3d28733028729d901dff33 (patch)
treeff4ee743febcbea7ff3de902177fac0cb3029596 /modules/caddyhttp/marshalers.go
parent99e2b56519b89237a28dd176c4eb0604d1cf5297 (diff)
http: Fix ciphersuite logging
Diffstat (limited to 'modules/caddyhttp/marshalers.go')
-rw-r--r--modules/caddyhttp/marshalers.go2
1 files changed, 1 insertions, 1 deletions
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)