[Swan-commit] Changes to ref refs/heads/main
Andrew Cagney
cagney at vault.libreswan.fi
Tue Sep 22 19:03:03 UTC 2020
New commits:
commit b625cbcac0ca2b08bb3be231def9c4e094e1141d
Merge: ae6728a 66181fd
Author: Andrew Cagney <cagney at gnu.org>
Date: Tue Sep 22 15:02:27 2020 -0400
connections: always prefix log lines with 'connection "name":' when adding the connection
Merge commit '66181fd081feda2657e96b2504a4cc2849c77c79' into main
commit 66181fd081feda2657e96b2504a4cc2849c77c79
Author: Andrew Cagney <cagney at gnu.org>
Date: Tue Sep 22 14:46:53 2020 -0400
testing: expect 'connection "...": ' prefix while a connection is being added
commit 104df00af90b7c673d4f55a25b75ae49e08f8673
Author: Andrew Cagney <cagney at gnu.org>
Date: Tue Sep 22 10:05:34 2020 -0400
connections: in add_connection() bake "connection \"%s\"": prefix into the logger
This way nested calls can assume that the correct prefix will be
automatically added. Drop no-longer-used connection_name parameter.
For instance. While a connection is being added:
002 connection "distraction": bad left CA string 'Something bogus': unknown OID in ID_DER_ASN1_DN (ignored)
036 connection "distraction": failed to add connection: leftauth= and rightauth= require ikev2
and once created it switches to the shorter:
"distraction": ...
(the reason for two prefixes is code evolution and, I suspect, a way
to differentiate a partially constructed vs complete connection?).
More information about the Swan-commit
mailing list