diff options
| author | vivek <vivek@cumulusnetworks.com> | 2020-05-25 22:40:44 -0700 |
|---|---|---|
| committer | vivek <vivek@cumulusnetworks.com> | 2020-05-25 22:40:44 -0700 |
| commit | 9be782ff9fedc8c22286bb705fd0b4a5b71b2965 (patch) | |
| tree | d482e741f49e326ac83df134ae61613b677a3ecd /lib/prefix.c | |
| parent | 812507ec5c07504b1c84e1c365954dd49188ce15 (diff) | |
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.c | 2 |
1 files changed, 1 insertions, 1 deletions
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, |
