Change in osmo-e1d[master]: vty: Print actual driver name instead of FIXME

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

laforge gerrit-no-reply at lists.osmocom.org
Tue Jun 30 20:15:06 UTC 2020


laforge has submitted this change. ( https://gerrit.osmocom.org/c/osmo-e1d/+/19072 )

Change subject: vty: Print actual driver name instead of FIXME
......................................................................

vty: Print actual driver name instead of FIXME

Change-Id: I6f909cc493417f9e156672024f879a7294b4d816
---
M src/vty.c
1 file changed, 2 insertions(+), 1 deletion(-)

Approvals:
  Jenkins Builder: Verified
  pespin: Looks good to me, but someone else must approve
  laforge: Looks good to me, approved



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_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>]",

-- 
To view, visit https://gerrit.osmocom.org/c/osmo-e1d/+/19072
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-e1d
Gerrit-Branch: master
Gerrit-Change-Id: I6f909cc493417f9e156672024f879a7294b4d816
Gerrit-Change-Number: 19072
Gerrit-PatchSet: 1
Gerrit-Owner: laforge <laforge at osmocom.org>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: laforge <laforge at osmocom.org>
Gerrit-Reviewer: pespin <pespin at sysmocom.de>
Gerrit-MessageType: merged
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20200630/b30fe327/attachment.htm>


More information about the gerrit-log mailing list