chiark
/
gitweb
/
~mdw
/
tripe
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Issue ADD and KXSTART notifications in the right order!
[tripe]
/
keyexch.c
diff --git
a/keyexch.c
b/keyexch.c
index 7c0217c5ccdae50b69af40e7fb20af3ae1768ccc..f010a38b00616208b1aa5e43926815acbb7a10ef 100644
(file)
--- a/
keyexch.c
+++ b/
keyexch.c
@@
-1217,7
+1217,7
@@
int kx_init(keyexch *kx, peer *p, keyset **ks)
kx->f = KXF_DEAD | KXF_PUBKEY;
start(kx, time(0));
resend(kx);
- a_notify("KXSTART %s", p_name(kx->p));
+ /* Don't notify here: the ADD message hasn't gone out yet. */
return (0);
}