diff options
author | Quentin Young <qlyoung@cumulusnetworks.com> | 2019-08-06 23:18:42 +0200 |
---|---|---|
committer | Quentin Young <qlyoung@cumulusnetworks.com> | 2019-08-06 23:46:46 +0200 |
commit | ec15e1b5884d6b23a878aedcc6bcbda927022c96 (patch) | |
tree | 76eeb5451f84eefb9f9e28c64a3c649b4b648f02 /bgpd | |
parent | Merge pull request #4792 from opensourcerouting/doc_libcap (diff) | |
download | frr-ec15e1b5884d6b23a878aedcc6bcbda927022c96.tar.xz frr-ec15e1b5884d6b23a878aedcc6bcbda927022c96.zip |
bgpd: tx addpath info for labeled unicast
Labeled unicast needs path IDs too!
Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
Diffstat (limited to 'bgpd')
-rw-r--r-- | bgpd/bgp_attr.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/bgpd/bgp_attr.c b/bgpd/bgp_attr.c index c64d153f1..e21c84355 100644 --- a/bgpd/bgp_attr.c +++ b/bgpd/bgp_attr.c @@ -2956,7 +2956,8 @@ void bgp_packet_mpattr_prefix(struct stream *s, afi_t afi, safi_t safi, addpath_encode, addpath_tx_id); } else if (safi == SAFI_LABELED_UNICAST) { /* Prefix write with label. */ - stream_put_labeled_prefix(s, p, label); + stream_put_labeled_prefix(s, p, label, addpath_encode, + addpath_tx_id); } else if (safi == SAFI_FLOWSPEC) { if (PSIZE (p->prefixlen)+2 < FLOWSPEC_NLRI_SIZELIMIT) stream_putc(s, PSIZE (p->prefixlen)+2); |