summaryrefslogtreecommitdiffstats
path: root/bgpd/rfapi/bgp_rfapi_cfg.c
diff options
context:
space:
mode:
authorMartin Winter <mwinter@opensourcerouting.org>2018-02-14 04:05:42 +0100
committerGitHub <noreply@github.com>2018-02-14 04:05:42 +0100
commit74a75bdbadab86341c239dff5d33fad530754247 (patch)
tree03af0658c91e4dff6efed65bd20886adf3d1910f /bgpd/rfapi/bgp_rfapi_cfg.c
parentMerge pull request #1734 from donaldsharp/control_me (diff)
parentzebra: Use appropriate output function for label printing (diff)
downloadfrr-74a75bdbadab86341c239dff5d33fad530754247.tar.xz
frr-74a75bdbadab86341c239dff5d33fad530754247.zip
Merge pull request #1701 from donaldsharp/zapi_vrf_label
Zapi vrf label
Diffstat (limited to 'bgpd/rfapi/bgp_rfapi_cfg.c')
-rw-r--r--bgpd/rfapi/bgp_rfapi_cfg.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/bgpd/rfapi/bgp_rfapi_cfg.c b/bgpd/rfapi/bgp_rfapi_cfg.c
index 1fbbac9fc..15e09c639 100644
--- a/bgpd/rfapi/bgp_rfapi_cfg.c
+++ b/bgpd/rfapi/bgp_rfapi_cfg.c
@@ -554,7 +554,7 @@ rfapi_group_new(struct bgp *bgp, rfapi_group_cfg_type_t type, const char *name)
/* add to tail of list */
listnode_add(bgp->rfapi_cfg->nve_groups_sequential, rfg);
}
- rfg->label = MPLS_LABEL_ILLEGAL;
+ rfg->label = MPLS_LABEL_NONE;
QOBJ_REG(rfg, rfapi_nve_group_cfg);
return rfg;
@@ -3063,7 +3063,7 @@ DEFUN (vnc_vrf_policy_no_label,
vnc_redistribute_prechange(bgp);
}
- rfg->label = MPLS_LABEL_ILLEGAL;
+ rfg->label = MPLS_LABEL_NONE;
if (bgp->rfapi_cfg->rfg_redist == rfg) {
vnc_redistribute_postchange(bgp);