From 9d72660d671739452d9825609fbf73ec7245f2e8 Mon Sep 17 00:00:00 2001 From: Wesley Coakley Date: Thu, 28 May 2020 10:41:10 -0400 Subject: zebra, lib: bugfix on zebra packet debugging `debug zebra packet detail` dumps the full message whereas it had been dropping exactly 10 bytes, the size of the zebra header Signed-off-by: Wesley Coakley --- zebra/zserv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'zebra/zserv.c') diff --git a/zebra/zserv.c b/zebra/zserv.c index 8a1ed115a7..9d6ae2ec2e 100644 --- a/zebra/zserv.c +++ b/zebra/zserv.c @@ -160,7 +160,7 @@ void zserv_log_message(const char *errmsg, struct stream *msg, zlog_debug("Command: %s", zserv_command_string(hdr->command)); zlog_debug(" VRF: %u", hdr->vrf_id); } - zlog_hexdump(msg->data, STREAM_READABLE(msg)); + stream_hexdump(msg); } /* -- cgit v1.2.3