diff options
| author | Renato Westphal <renato@opensourcerouting.org> | 2019-08-08 14:08:36 -0300 |
|---|---|---|
| committer | Renato Westphal <renato@opensourcerouting.org> | 2019-09-06 21:06:11 -0300 |
| commit | 635a039eef1a57fae5ff979451814951d8fb3ac5 (patch) | |
| tree | 7c6d014461d428dfe0d669651fa6ad4e8bb05aae /lib/mpls.h | |
| parent | e132dea0643499187cc51a332fd6616ee6df387c (diff) | |
lib, zebra: rename LSP type used for OSPF SR
SR support for IS-IS is coming so we need to be able to distinguish
OSPF and IS-IS LSPs.
While here, add missing case statement for LDP on
lsp_type_from_re_type().
Signed-off-by: Renato Westphal <renato@opensourcerouting.org>
Diffstat (limited to 'lib/mpls.h')
| -rw-r--r-- | lib/mpls.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/mpls.h b/lib/mpls.h index d7b56c47bd..472ee9bc46 100644 --- a/lib/mpls.h +++ b/lib/mpls.h @@ -125,7 +125,7 @@ enum lsp_types_t { ZEBRA_LSP_STATIC = 1, /* Static LSP. */ ZEBRA_LSP_LDP = 2, /* LDP LSP. */ ZEBRA_LSP_BGP = 3, /* BGP LSP. */ - ZEBRA_LSP_SR = 4, /* Segment Routing LSP. */ + ZEBRA_LSP_OSPF_SR = 4,/* OSPF Segment Routing LSP. */ ZEBRA_LSP_SHARP = 5, /* Identifier for test protocol */ }; |
