mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-07 07:48:07 +00:00
lib: add labeled-unicast in safi2str()
While here, move SAFI_ENCAP above SAFI_MPLS_VPN to keep the ordering consistent. Signed-off-by: Renato Westphal <renato@opensourcerouting.org>
This commit is contained in:
parent
83540e9861
commit
5143a87b92
@ -252,12 +252,14 @@ safi2str(safi_t safi)
|
|||||||
return "unicast";
|
return "unicast";
|
||||||
case SAFI_MULTICAST:
|
case SAFI_MULTICAST:
|
||||||
return "multicast";
|
return "multicast";
|
||||||
case SAFI_ENCAP:
|
|
||||||
return "encap";
|
|
||||||
case SAFI_MPLS_VPN:
|
case SAFI_MPLS_VPN:
|
||||||
return "vpn";
|
return "vpn";
|
||||||
|
case SAFI_ENCAP:
|
||||||
|
return "encap";
|
||||||
case SAFI_EVPN:
|
case SAFI_EVPN:
|
||||||
return "evpn";
|
return "evpn";
|
||||||
|
case SAFI_LABELED_UNICAST:
|
||||||
|
return "labeled-unicast";
|
||||||
}
|
}
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user