summaryrefslogtreecommitdiffstats
path: root/zebra/zebra_mpls.h
diff options
context:
space:
mode:
authorOlivier Dugeon <olivier.dugeon@orange.com>2018-01-22 19:18:10 +0100
committerOlivier Dugeon <olivier.dugeon@orange.com>2018-01-22 19:18:10 +0100
commit7726c479644269fc573dd6aad72ea9c163599fd6 (patch)
tree853938dafc94ab1976050588655031704a4de7b7 /zebra/zebra_mpls.h
parentOSPFD: Update Segment Routing implementation (diff)
downloadfrr-7726c479644269fc573dd6aad72ea9c163599fd6.tar.xz
frr-7726c479644269fc573dd6aad72ea9c163599fd6.zip
OSPFD: Update Segment Routing following reviews
- Remove OSPD_SR route type - Check that Segment Routing is enable only in default VRF - Add comment for SRGB in lib/mpls.h - Update documentation Signed-off-by: Olivier Dugeon <olivier.dugeon@orange.com>
Diffstat (limited to 'zebra/zebra_mpls.h')
-rw-r--r--zebra/zebra_mpls.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/zebra/zebra_mpls.h b/zebra/zebra_mpls.h
index 93e1162b6..9d8ca34f8 100644
--- a/zebra/zebra_mpls.h
+++ b/zebra/zebra_mpls.h
@@ -455,7 +455,7 @@ static inline int re_type_from_lsp_type(enum lsp_types_t lsp_type)
case ZEBRA_LSP_BGP:
return ZEBRA_ROUTE_BGP;
case ZEBRA_LSP_SR:
- return ZEBRA_ROUTE_OSPF_SR;
+ return ZEBRA_ROUTE_OSPF;
case ZEBRA_LSP_NONE:
default:
return ZEBRA_ROUTE_KERNEL;