mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-16 02:30:52 +00:00
Merge pull request #5837 from qlyoung/fix-zapi-pbr-unsupported-ip-family-log-message-newline
zebra: remove \n in zapi pbr family log msg
This commit is contained in:
commit
be427cc88a
@ -2412,15 +2412,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