From de22257ee1e948867491a0c046bdb8f461866937 Mon Sep 17 00:00:00 2001 From: Harald Welte Date: Tue, 30 Jun 2020 17:24:41 +0200 Subject: vty: Print actual driver name instead of FIXME Change-Id: I6f909cc493417f9e156672024f879a7294b4d816 --- src/vty.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/vty.c b/src/vty.c index 57a21bf..cc0df21 100644 --- a/src/vty.c +++ b/src/vty.c @@ -49,7 +49,8 @@ static void vty_dump_ts(struct vty *vty, const struct e1_ts *ts) static void vty_dump_intf(struct vty *vty, const struct e1_intf *intf) { - vty_out(vty, "Interface #%u, Driver: FIXME%s", intf->id, VTY_NEWLINE); + vty_out(vty, "Interface #%u, Driver: %s%s", intf->id, + get_value_string(e1_driver_names, intf->drv), VTY_NEWLINE); } DEFUN(show_intf, show_intf_cmd, "show interface [<0-255>]", -- cgit v1.2.3