]> git.proxmox.com Git - mirror_frr.git/commit
zebra: fix zapi msg debugging dumps
authorQuentin Young <qlyoung@cumulusnetworks.com>
Wed, 1 May 2019 00:49:13 +0000 (00:49 +0000)
committerQuentin Young <qlyoung@cumulusnetworks.com>
Fri, 3 May 2019 19:55:44 +0000 (19:55 +0000)
commit49b3b01f4cd6265380dd804279c2ced73a3a8220
treeda208fa205c8e57d937e1f9cd434ad9a991768b6
parent43932ad63c162faca22a29cd18ceb46d9bae5ed4
zebra: fix zapi msg debugging dumps

When we switched to a pthread per client, we lost the ability to
correlate zapi message debugs with their handlers in zlog, because the
message was logged when it was read off the zapi socket and not right
before it was processed. Move the zapi msg hexdump to happen right
before we call the message handler.

Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
zebra/zapi_msg.c
zebra/zserv.c
zebra/zserv.h