mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-14 00:56:19 +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)) {
|
||||
zlog_warn(
|
||||
"Unsupported PBR source IP family: %s (%" PRIu8
|
||||
")\n",
|
||||
")",
|
||||
family2str(zpr.rule.filter.src_ip.family),
|
||||
zpr.rule.filter.src_ip.family);
|
||||
return;
|
||||
}
|
||||
if (!(zpr.rule.filter.dst_ip.family == AF_INET
|
||||
|| zpr.rule.filter.dst_ip.family == AF_INET6)) {
|
||||
zlog_warn("Unsupported PBR IP family: %s (%" PRIu8
|
||||
")\n",
|
||||
zlog_warn("Unsupported PBR IP family: %s (%" PRIu8 ")",
|
||||
family2str(zpr.rule.filter.dst_ip.family),
|
||||
zpr.rule.filter.dst_ip.family);
|
||||
return;
|
||||
|
Loading…
Reference in New Issue
Block a user