mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-11 01:40:33 +00:00
pimd: Make received packet zlog_err a zlog_debug
When receiving packets and the parse fails a zlog_err is generated. This should be protected by a debug. Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
This commit is contained in:
parent
61ea3951a2
commit
a22e470b39
@ -349,8 +349,9 @@ static int pim_sock_read(struct thread *t)
|
||||
|
||||
int fail = pim_pim_packet(ifp, buf, len);
|
||||
if (fail) {
|
||||
zlog_warn("%s: pim_pim_packet() return=%d",
|
||||
__PRETTY_FUNCTION__, fail);
|
||||
if (PIM_DEBUG_PIM_PACKETS)
|
||||
zlog_debug("%s: pim_pim_packet() return=%d",
|
||||
__PRETTY_FUNCTION__, fail);
|
||||
goto done;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user