diff options
| author | Olivier Dugeon <olivier.dugeon@orange.com> | 2018-01-22 19:18:10 +0100 |
|---|---|---|
| committer | Olivier Dugeon <olivier.dugeon@orange.com> | 2018-01-22 19:18:10 +0100 |
| commit | 7726c479644269fc573dd6aad72ea9c163599fd6 (patch) | |
| tree | 853938dafc94ab1976050588655031704a4de7b7 /zebra/rt_netlink.c | |
| parent | fd3b19f25200c2788d34bf25a62161927a123369 (diff) | |
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/rt_netlink.c')
| -rw-r--r-- | zebra/rt_netlink.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/zebra/rt_netlink.c b/zebra/rt_netlink.c index bb034b8939..a77814668d 100644 --- a/zebra/rt_netlink.c +++ b/zebra/rt_netlink.c @@ -98,8 +98,7 @@ static inline int is_selfroute(int proto) || (proto == RTPROT_ISIS) || (proto == RTPROT_RIPNG) || (proto == RTPROT_NHRP) || (proto == RTPROT_EIGRP) || (proto == RTPROT_LDP) || (proto == RTPROT_BABEL) - || (proto == RTPROT_RIP) || (proto == RTPROT_SHARP) - || (proto == RTPROT_OSPF_SR)) { + || (proto == RTPROT_RIP) || (proto == RTPROT_SHARP)) { return 1; } @@ -119,9 +118,6 @@ static inline int zebra2proto(int proto) case ZEBRA_ROUTE_OSPF6: proto = RTPROT_OSPF; break; - case ZEBRA_ROUTE_OSPF_SR: - proto = RTPROT_OSPF_SR; - break; case ZEBRA_ROUTE_STATIC: proto = RTPROT_STATIC; break; |
