chiark / gitweb /
server/keyexch.c: Always quote the peer name in `KXSTART' notifications.
authorMark Wooding <mdw@distorted.org.uk>
Wed, 27 May 2015 18:43:07 +0000 (19:43 +0100)
committerMark Wooding <mdw@distorted.org.uk>
Wed, 27 May 2015 18:43:07 +0000 (19:43 +0100)
I missed the separate notification which is issued when a corked
exchange is uncorked.

server/keyexch.c

index d26ac78..2502fa3 100644 (file)
@@ -1278,7 +1278,7 @@ void kx_message(keyexch *kx, unsigned msg, buf *b)
     start(kx, now.tv_sec);
     rs_time(&kx->rs, &tv, &now);
     settimer(kx, &tv);
-    a_notify("KXSTART", A_END);
+    a_notify("KXSTART", "?PEER", kx->p, A_END);
   }
 
   if (checkpub(kx))