diff options
| author | Renato Westphal <renato@opensourcerouting.org> | 2017-05-12 09:21:34 -0300 |
|---|---|---|
| committer | Renato Westphal <renato@opensourcerouting.org> | 2017-05-12 11:46:26 -0300 |
| commit | 5143a87b92fc635b05586d4a95a6e22e2cbfc397 (patch) | |
| tree | c3f3a2540a195064e87698760c84bf7a148597cf /lib/prefix.c | |
| parent | 83540e9861b033d971af7e8da359289dbe25384d (diff) | |
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>
Diffstat (limited to 'lib/prefix.c')
| -rw-r--r-- | lib/prefix.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/prefix.c b/lib/prefix.c index 0cc759bb7c..28af2833e0 100644 --- a/lib/prefix.c +++ b/lib/prefix.c @@ -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; } |
