]> git.proxmox.com Git - mirror_frr.git/commitdiff
lib: add labeled-unicast in safi2str()
authorRenato Westphal <renato@opensourcerouting.org>
Fri, 12 May 2017 12:21:34 +0000 (09:21 -0300)
committerRenato Westphal <renato@opensourcerouting.org>
Fri, 12 May 2017 14:46:26 +0000 (11:46 -0300)
While here, move SAFI_ENCAP above SAFI_MPLS_VPN to keep the ordering
consistent.

Signed-off-by: Renato Westphal <renato@opensourcerouting.org>
lib/prefix.c

index 0cc759bb7c92765ee6cc04502362b894f493d91b..28af2833e074ed9477a45797055dd0da67f61384 100644 (file)
@@ -252,12 +252,14 @@ safi2str(safi_t safi)
        return "unicast";
     case SAFI_MULTICAST:
        return "multicast";
-    case SAFI_ENCAP:
-       return "encap";
     case SAFI_MPLS_VPN:
        return "vpn";
+    case SAFI_ENCAP:
+       return "encap";
     case SAFI_EVPN:
        return "evpn";
+    case SAFI_LABELED_UNICAST:
+       return "labeled-unicast";
   }
   return NULL;
 }