diff options
| author | Russ White <russ@riw.us> | 2020-05-26 07:28:26 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-05-26 07:28:26 -0400 |
| commit | de176cecdb85f6aa91e00cf6f26bb22e196e2d1c (patch) | |
| tree | d482e741f49e326ac83df134ae61613b677a3ecd | |
| parent | 812507ec5c07504b1c84e1c365954dd49188ce15 (diff) | |
| parent | 9be782ff9fedc8c22286bb705fd0b4a5b71b2965 (diff) | |
Merge pull request #6462 from vivek-cumulus/lib_evpn_prefix_fix
lib: Minor update to EVPN type-5 prefix display
| -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, |
