aboutsummaryrefslogtreecommitdiffstats
path: root/src/vnet/dev/format.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/vnet/dev/format.c')
-rw-r--r--src/vnet/dev/format.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/vnet/dev/format.c b/src/vnet/dev/format.c
index f599c0f8b85..bde245cafee 100644
--- a/src/vnet/dev/format.c
+++ b/src/vnet/dev/format.c
@@ -142,7 +142,8 @@ format_vnet_dev_port_info (u8 *s, va_list *args)
{
s = format (s, "assigned, interface name is '%U', RX node is '%U'",
format_vnet_sw_if_index_name, vnm, port->intf.sw_if_index,
- format_vlib_node_name, vm, port->intf.rx_node_index);
+ format_vlib_node_name, vm,
+ vnet_dev_get_port_rx_node_index (port));
}
else
s = format (s, "not assigned");