Vivek,

to close this one off.

On 1/5/2016 8:18 AM, Vivek Venkatraman wrote:
>
>
>     +#if 0                           /* duplicates mpattr included in
>     bgp_packet.c */
>        if (p && !(afi == AFI_IP && safi == SAFI_UNICAST))
>
changed to:
  if (p && afi == AFI_IP6 && safi == SAFI_UNICAST)

>          {
>     +      size_t mpattrlen_pos = 0;
>            mpattrlen_pos = bgp_packet_mpattr_start(s, afi, safi, attr);
>            bgp_packet_mpattr_prefix(s, afi, safi, p, prd, tag);
>            bgp_packet_mpattr_end(s, mpattrlen_pos);
>          }
>     -
>     +#endif
>
>
> This part of the code (which has been placed under "#if 0") is used by
> the default originate code. I'm not sure how that will work after this
> change. Can you please check?

Good catch!

Lou


_______________________________________________
Quagga-dev mailing list
[email protected]
https://lists.quagga.net/mailman/listinfo/quagga-dev

Reply via email to