aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorNeale Ranns <nranns@cisco.com>2019-12-17 00:14:26 +0000
committerDamjan Marion <dmarion@me.com>2019-12-17 17:52:28 +0000
commite11dce20c99775884877ad6dcf879e8995c78ebf (patch)
treedb56dc5538c276e62be33179815557a3db297632 /src
parent70ef0faea9f706004c068fb843797a7cb08a9e68 (diff)
nhrp: mGREv6
Type: test Change-Id: I7d0496c37e06d3b6eee325a262e5398860282b63 Signed-off-by: Neale Ranns <nranns@cisco.com>
Diffstat (limited to 'src')
-rw-r--r--src/vnet/nhrp/nhrp.c9
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);