aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHarald Welte <laforge@osmocom.org>2020-06-30 17:24:41 +0200
committerHarald Welte <laforge@osmocom.org>2020-06-30 19:44:09 +0200
commitde22257ee1e948867491a0c046bdb8f461866937 (patch)
tree7eec2941c9851455d399582517c0b37b8cb172db
parentc3cefbb39618b546638b5f7ba2f466e6f3afb765 (diff)
vty: Print actual driver name instead of FIXME
-rw-r--r--src/vty.c3
1 files changed, 2 insertions, 1 deletions
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>]",