diff options
| author | Wesley Coakley <wcoakley@cumulusnetworks.com> | 2020-05-28 10:41:10 -0400 | 
|---|---|---|
| committer | Wesley Coakley <wcoakley@cumulusnetworks.com> | 2020-05-28 10:48:56 -0400 | 
| commit | 9d72660d671739452d9825609fbf73ec7245f2e8 (patch) | |
| tree | 021669525a8c4c6ab37205ad8ccc4d671f2f011f /zebra/zserv.c | |
| parent | 5308f267382773c2fff832932e3905c460738257 (diff) | |
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 <wcoakley@cumulusnetworks.com>
Diffstat (limited to 'zebra/zserv.c')
| -rw-r--r-- | zebra/zserv.c | 2 | 
1 files changed, 1 insertions, 1 deletions
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);  }  /*  | 
