diff options
author | Neale Ranns <nranns@cisco.com> | 2019-12-17 00:14:26 +0000 |
---|---|---|
committer | Damjan Marion <dmarion@me.com> | 2019-12-17 17:52:28 +0000 |
commit | e11dce20c99775884877ad6dcf879e8995c78ebf (patch) | |
tree | db56dc5538c276e62be33179815557a3db297632 /src/vnet/nhrp | |
parent | 70ef0faea9f706004c068fb843797a7cb08a9e68 (diff) |
nhrp: mGREv6
Type: test
Change-Id: I7d0496c37e06d3b6eee325a262e5398860282b63
Signed-off-by: Neale Ranns <nranns@cisco.com>
Diffstat (limited to 'src/vnet/nhrp')
-rw-r--r-- | src/vnet/nhrp/nhrp.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/vnet/nhrp/nhrp.c b/src/vnet/nhrp/nhrp.c index 6a616ba273d..a89f6cd9459 100644 --- a/src/vnet/nhrp/nhrp.c +++ b/src/vnet/nhrp/nhrp.c @@ -154,10 +154,11 @@ format_nhrp_entry (u8 * s, va_list * args) ne = nhrp_entry_get (nei); s = format (s, "[%d] ", nei); - s = format (s, "%U:%U ", format_vnet_sw_if_index_name, - vnm, ne->ne_key->nk_sw_if_index, - format_ip46_address, &ne->ne_key->nk_peer, IP46_TYPE_ANY); - s = format (s, "via %d:%U", + s = format (s, "%U:", format_vnet_sw_if_index_name, + vnm, ne->ne_key->nk_sw_if_index); + s = format (s, " %U", format_ip46_address, + &ne->ne_key->nk_peer, IP46_TYPE_ANY); + s = format (s, " via [%d]:%U", fib_table_get_table_id (ne->ne_fib_index, ne->ne_nh.fp_proto), format_fib_prefix, &ne->ne_nh); |