From 9be782ff9fedc8c22286bb705fd0b4a5b71b2965 Mon Sep 17 00:00:00 2001 From: vivek Date: Mon, 25 May 2020 22:40:44 -0700 Subject: [PATCH] lib: Minor update to EVPN type-5 prefix display Signed-off-by: Vivek Venkatraman --- lib/prefix.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/prefix.c b/lib/prefix.c index 80fe0f54a9..112630e9c8 100644 --- a/lib/prefix.c +++ b/lib/prefix.c @@ -966,7 +966,7 @@ static const char *prefixevpn_prefix2str(const struct prefix_evpn *p, char *str, family = is_evpn_prefix_ipaddr_v4(p) ? AF_INET : AF_INET6; - snprintf(str, size, "[%d]:[%u][%s/%d]/%d", + snprintf(str, size, "[%d]:[%u]:[%s/%d]/%d", p->prefix.route_type, p->prefix.prefix_addr.eth_tag, inet_ntop(family, -- 2.39.5