summaryrefslogtreecommitdiffstats
path: root/bgpd
diff options
context:
space:
mode:
authorLou Berger <lberger@labn.net>2017-05-13 23:46:05 +0200
committerLou Berger <lberger@labn.net>2017-05-13 23:46:05 +0200
commite5efc58be957eb3c52c03e3b9d80a2a7e8a869ad (patch)
tree56a02029111fc1dc59abdc24fa698c99540a2d9a /bgpd
parentbgpd: fix VPN SAFI label distribution (Issue #473) (diff)
downloadfrr-e5efc58be957eb3c52c03e3b9d80a2a7e8a869ad.tar.xz
frr-e5efc58be957eb3c52c03e3b9d80a2a7e8a869ad.zip
bgpd: fix rfapi label origination (Issue #473)
Signed-off-by: Lou Berger <lberger@labn.net>
Diffstat (limited to 'bgpd')
-rw-r--r--bgpd/rfapi/rfapi.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/bgpd/rfapi/rfapi.c b/bgpd/rfapi/rfapi.c
index 99d26cf13..fee6d745e 100644
--- a/bgpd/rfapi/rfapi.c
+++ b/bgpd/rfapi/rfapi.c
@@ -1198,6 +1198,7 @@ add_vnc_route (
bgp, prd, table, p, new);
}
bgp_unlock_node (prn);
+ encode_label (label_val, bn->local_label);
}
bgp_unlock_node (bn);