mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-06 16:20:08 +00:00
pimd: debug guard error message
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
This commit is contained in:
parent
7649a4f60c
commit
5667319bcf
@ -530,8 +530,14 @@ int pim_zlookup_sg_statistics(struct channel_oil *c_oil)
|
||||
sg.grp.s_addr = stream_get_ipv4(s);
|
||||
if (sg.src.s_addr != c_oil->oil.mfcc_origin.s_addr
|
||||
|| sg.grp.s_addr != c_oil->oil.mfcc_mcastgrp.s_addr) {
|
||||
zlog_err("%s: Received wrong %s information",
|
||||
__PRETTY_FUNCTION__, pim_str_sg_dump(&sg));
|
||||
if (PIM_DEBUG_ZEBRA) {
|
||||
struct prefix_sg more;
|
||||
|
||||
more.src = c_oil->oil.mfcc_origin;
|
||||
more.grp = c_oil->oil.mfcc_mcastgrp;
|
||||
zlog_err("%s: Received wrong %s information requested",
|
||||
__PRETTY_FUNCTION__, pim_str_sg_dump(&more));
|
||||
}
|
||||
zclient_lookup_failed(zlookup);
|
||||
return -3;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user