mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-05-30 22:25:41 +00:00
bgpd: mp_unreach_nlri fs sent with no nexthop
FS UNREACH message with 0 NLRI inside is sent after each peer establishment. FS can send NLRI messages with no nexthop. The commit fixes a message that is triggered by mistake if FS was about to be sent, then that message is not output. Also it fixes a typo. Signed-off-by: Philippe Guibert <philippe.guibert@6wind.com>
This commit is contained in:
parent
98a9dbc7ed
commit
a83da8e19c
@ -2736,8 +2736,9 @@ size_t bgp_packet_mpattr_start(struct stream *s, struct peer *peer, afi_t afi,
|
|||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
|
if (safi != SAFI_FLOWSPEC)
|
||||||
zlog_err(
|
zlog_err(
|
||||||
"Bad nexthop when sening to %s, AFI %u SAFI %u nhlen %d",
|
"Bad nexthop when sending to %s, AFI %u SAFI %u nhlen %d",
|
||||||
peer->host, afi, safi, attr->mp_nexthop_len);
|
peer->host, afi, safi, attr->mp_nexthop_len);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user