mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-16 08:32:45 +00:00
zebra: remove \n in zapi pbr family log msg
Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
This commit is contained in:
parent
4c5122452a
commit
b7b05b462d
@ -2410,15 +2410,14 @@ static inline void zread_rule(ZAPI_HANDLER_ARGS)
|
|||||||
|| zpr.rule.filter.src_ip.family == AF_INET6)) {
|
|| zpr.rule.filter.src_ip.family == AF_INET6)) {
|
||||||
zlog_warn(
|
zlog_warn(
|
||||||
"Unsupported PBR source IP family: %s (%" PRIu8
|
"Unsupported PBR source IP family: %s (%" PRIu8
|
||||||
")\n",
|
")",
|
||||||
family2str(zpr.rule.filter.src_ip.family),
|
family2str(zpr.rule.filter.src_ip.family),
|
||||||
zpr.rule.filter.src_ip.family);
|
zpr.rule.filter.src_ip.family);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if (!(zpr.rule.filter.dst_ip.family == AF_INET
|
if (!(zpr.rule.filter.dst_ip.family == AF_INET
|
||||||
|| zpr.rule.filter.dst_ip.family == AF_INET6)) {
|
|| zpr.rule.filter.dst_ip.family == AF_INET6)) {
|
||||||
zlog_warn("Unsupported PBR IP family: %s (%" PRIu8
|
zlog_warn("Unsupported PBR IP family: %s (%" PRIu8 ")",
|
||||||
")\n",
|
|
||||||
family2str(zpr.rule.filter.dst_ip.family),
|
family2str(zpr.rule.filter.dst_ip.family),
|
||||||
zpr.rule.filter.dst_ip.family);
|
zpr.rule.filter.dst_ip.family);
|
||||||
return;
|
return;
|
||||||
|
Loading…
Reference in New Issue
Block a user