BGP end mark

Arvin Gan AGan at advaoptical.com
Tue Mar 26 10:30:03 CET 2019


Hi Ondrej,
   In bgp_create_end_mark(), suggest to add condition ext_next_hop to select ip_end_mark or mp_end_mark that is aligned with bgp_create_update function,  although this don't affect protocols communication :)


@@ -2225,7 +2297,7 @@ bgp_create_end_mark(struct bgp_channel *
   BGP_TRACE(D_PACKETS, "Sending END-OF-RIB");
-  return (c->afi == BGP_AF_IPV4) ?
+  return (c->afi == BGP_AF_IPV4) && !c->ext_next_hop ?
     bgp_create_ip_end_mark(c, buf):
     bgp_create_mp_end_mark(c, buf);
}

Best Regards,
Arvin Gan

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://trubka.network.cz/pipermail/bird-users/attachments/20190326/55b4c729/attachment.html>


More information about the Bird-users mailing list