diff options
| author | Renato Westphal <renato@openbsd.org> | 2018-12-20 13:59:28 -0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-12-20 13:59:28 -0200 |
| commit | 96def26e5a2764ebfa3dba13418627451eaba0ce (patch) | |
| tree | f160bbc733cfa24b088bbb965f1ca34522d3c1b0 /zebra/zebra_mpls.h | |
| parent | bbfaa7054a4f3f6a9ffb54afebeb6e4129037da6 (diff) | |
| parent | 57592a53b5c02094f915a8444d40d2361d31e972 (diff) | |
Merge pull request #3327 from adeg/feature/bgp-lu-auto-labels
bgpd, zebra: auto assign labels to regular labeled-unicast prefixes
Diffstat (limited to 'zebra/zebra_mpls.h')
| -rw-r--r-- | zebra/zebra_mpls.h | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/zebra/zebra_mpls.h b/zebra/zebra_mpls.h index 86bee129cf..c250fc4058 100644 --- a/zebra/zebra_mpls.h +++ b/zebra/zebra_mpls.h @@ -191,16 +191,9 @@ int zebra_mpls_lsp_install(struct zebra_vrf *zvrf, struct route_node *rn, int zebra_mpls_lsp_uninstall(struct zebra_vrf *zvrf, struct route_node *rn, struct route_entry *re); -/* - * Registration from a client for the label binding for a FEC. If a binding - * already exists, it is informed to the client. - * NOTE: If there is a manually configured label binding, that is used. - * Otherwise, if aa label index is specified, it means we have to allocate the - * label from a locally configured label block (SRGB), if one exists and index - * is acceptable. - */ int zebra_mpls_fec_register(struct zebra_vrf *zvrf, struct prefix *p, - uint32_t label_index, struct zserv *client); + uint32_t label, uint32_t label_index, + struct zserv *client); /* * Deregistration from a client for the label binding for a FEC. The FEC |
