Code Review
/
vpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
| inline |
side by side
VPP-81: Print interface name after creating an interface with CLI
[vpp.git]
/
vnet
/
vnet
/
devices
/
virtio
/
vhost-user.c
diff --git
a/vnet/vnet/devices/virtio/vhost-user.c
b/vnet/vnet/devices/virtio/vhost-user.c
index
ef4993f
..
4ed45e3
100644
(file)
--- a/
vnet/vnet/devices/virtio/vhost-user.c
+++ b/
vnet/vnet/devices/virtio/vhost-user.c
@@
-1791,7
+1791,7
@@
vhost_user_connect_command_fn (vlib_main_t * vm,
renumber, custom_dev_instance, hw);
vec_free(sock_filename);
-
+ vlib_cli_output(vm, "%U\n", format_vnet_sw_if_index_name, vnet_get_main(), sw_if_index);
return 0;
}