]> git.proxmox.com Git - mirror_frr.git/blobdiff - zebra/rt_netlink.c
OSPFD: Update Segment Routing following reviews
[mirror_frr.git] / zebra / rt_netlink.c
index bb034b89395580b26f794c9aa9ffa98f106eb228..a77814668d4518d179abf30db4d5ea2b3081678d 100644 (file)
@@ -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;