summaryrefslogtreecommitdiffstats
path: root/lib/prefix.c
diff options
context:
space:
mode:
authorvivek <vivek@cumulusnetworks.com>2020-05-26 07:40:44 +0200
committervivek <vivek@cumulusnetworks.com>2020-05-26 07:40:44 +0200
commit9be782ff9fedc8c22286bb705fd0b4a5b71b2965 (patch)
treed482e741f49e326ac83df134ae61613b677a3ecd /lib/prefix.c
parentMerge pull request #6402 from donaldsharp/fix_rtadv_stuff (diff)
downloadfrr-9be782ff9fedc8c22286bb705fd0b4a5b71b2965.tar.xz
frr-9be782ff9fedc8c22286bb705fd0b4a5b71b2965.zip
lib: Minor update to EVPN type-5 prefix display
Signed-off-by: Vivek Venkatraman <vivek@cumulusnetworks.com>
Diffstat (limited to 'lib/prefix.c')
-rw-r--r--lib/prefix.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/prefix.c b/lib/prefix.c
index 80fe0f54a..112630e9c 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,