[PATCH 07/18] site: When shutting down, if debug enabled, do dump the MSG7

Ian Jackson ijackson at chiark.greenend.org.uk
Wed Aug 17 23:54:25 BST 2011

Insert a call to dump_packet in send_msg7.  The packet is mostly
ciphertext and may not make a great deal of sense but turning on
debugging should not show all management packets; only data packets
should not be shown.

Signed-off-by: Ian Jackson <ijackson at chiark.greenend.org.uk>
 site.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/site.c b/site.c
index 34805f6..157d9f2 100644
--- a/site.c
+++ b/site.c
@@ -909,6 +909,7 @@ static bool_t send_msg7(struct site *st, cstring_t reason)
+	dump_packet(st,&st->buffer,&st->peer,False);
 	return True;

More information about the sgo-software-discuss mailing list