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 d26ac787378aa6658ca0517d7f83ab73a1822174..2502fa398d797578378448df7578914710d4f034 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);
     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))
   }
 
   if (checkpub(kx))