From 554e8f3991e2f74cc43d5f65b3e6e3b740b323c8 Mon Sep 17 00:00:00 2001 From: Simon Tatham Date: Fri, 12 Oct 2018 23:42:44 +0100 Subject: [PATCH] Restore missing Event Log entries from SSH layers. In commit ad0c502ce I forgot to arrange for ssh_connect_ppl to fill in ppl->logctx, and without it, logevent() was cheerfully throwing away all those log messages. --- ssh.c | 1 + 1 file changed, 1 insertion(+) diff --git a/ssh.c b/ssh.c index 000bee65..2f81d9f6 100644 --- a/ssh.c +++ b/ssh.c @@ -142,6 +142,7 @@ static void ssh_connect_ppl(Ssh *ssh, PacketProtocolLayer *ppl) ppl->user_input = &ssh->user_input; ppl->seat = ssh->seat; ppl->ssh = ssh; + ppl->logctx = ssh->logctx; ppl->remote_bugs = ssh->remote_bugs; }