diff options
author | Harald Welte <laforge@osmocom.org> | 2020-06-30 17:24:41 +0200 |
---|---|---|
committer | Harald Welte <laforge@osmocom.org> | 2020-06-30 19:44:09 +0200 |
commit | de22257ee1e948867491a0c046bdb8f461866937 (patch) | |
tree | 7eec2941c9851455d399582517c0b37b8cb172db | |
parent | c3cefbb39618b546638b5f7ba2f466e6f3afb765 (diff) |
vty: Print actual driver name instead of FIXME
Change-Id: I6f909cc493417f9e156672024f879a7294b4d816
-rw-r--r-- | src/vty.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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>]", |