mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-04 00:59:13 +00:00
zebra: Limit packet dumps for received data to detail
level
When turning on `debug zebra packet detail` or `debug zebra packet recv detail` only display the detailed packet dump when `detail` is added. Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
This commit is contained in:
parent
54c1ad9802
commit
ec64a77b33
@ -3152,7 +3152,8 @@ void zserv_handle_commands(struct zserv *client, struct stream_fifo *fifo)
|
||||
|
||||
zapi_parse_header(msg, &hdr);
|
||||
|
||||
if (IS_ZEBRA_DEBUG_PACKET && IS_ZEBRA_DEBUG_RECV)
|
||||
if (IS_ZEBRA_DEBUG_PACKET && IS_ZEBRA_DEBUG_RECV
|
||||
&& IS_ZEBRA_DEBUG_DETAIL)
|
||||
zserv_log_message(NULL, msg, &hdr);
|
||||
|
||||
#if defined(HANDLE_ZAPI_FUZZING)
|
||||
|
Loading…
Reference in New Issue
Block a user