Mailing List Archive

PATCH bgpd/bgp_packet.c end-of-rib
Hello,
Please commit this patch for fixing broken incoming IPv6 End-of-RIB check for graceful-restart capable peers.



--- bgpd/bgp_packet.c.orig 2019-05-02 20:27:40.226029001 +0000
+++ bgpd/bgp_packet.c 2019-05-02 20:05:42.916029001 +0000
@@ -1972,7 +1972,7 @@
/* otherwise MP AFI/SAFI is an empty update, other than an empty
* MP_UNREACH_NLRI attr (with an AFI/SAFI we recognise).
*/
- else if (attr.flag == BGP_ATTR_MP_UNREACH_NLRI
+ else if (attr.flag == ATTR_FLAG_BIT(BGP_ATTR_MP_UNREACH_NLRI)
&& nlris[NLRI_MP_WITHDRAW].length == 0
&& bgp_afi_safi_valid_indices (nlris[NLRI_MP_WITHDRAW].afi,
&nlris[NLRI_MP_WITHDRAW].safi))



J