laforge has submitted this change. ( https://gerrit.osmocom.org/c/libosmocore/+/21424 )
Change subject: gprs_ns2_fr: Print Frame Relay 'role' in VTY ...................................................................... gprs_ns2_fr: Print Frame Relay 'role' in VTY Change-Id: I23182e5d952fd28a0bbfa76a4fc94d8e03b7a65d --- M src/gb/gprs_ns2_fr.c 1 file changed, 4 insertions(+), 1 deletion(-) Approvals: Jenkins Builder: Verified laforge: Looks good to me, approved diff --git a/src/gb/gprs_ns2_fr.c b/src/gb/gprs_ns2_fr.c index 3315273..07c8d46 100644 --- a/src/gb/gprs_ns2_fr.c +++ b/src/gb/gprs_ns2_fr.c @@ -105,13 +105,16 @@ { struct priv_bind *priv; struct gprs_ns2_vc *nsvc; + struct osmo_fr_link *fr_link; if (!bind) return; priv = bind->priv; + fr_link = priv->link; - vty_out(vty, "FR bind: %s%s", priv->netif, VTY_NEWLINE); + vty_out(vty, "FR bind: %s, role: %s%s", priv->netif, + osmo_fr_role_str(fr_link->role), VTY_NEWLINE); llist_for_each_entry(nsvc, &bind->nsvc, blist) { vty_out(vty, " %s%s", gprs_ns2_ll_str(nsvc), VTY_NEWLINE); -- To view, visit https://gerrit.osmocom.org/c/libosmocore/+/21424 To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings Gerrit-Project: libosmocore Gerrit-Branch: master Gerrit-Change-Id: I23182e5d952fd28a0bbfa76a4fc94d8e03b7a65d Gerrit-Change-Number: 21424 Gerrit-PatchSet: 1 Gerrit-Owner: laforge <lafo...@osmocom.org> Gerrit-Reviewer: Jenkins Builder Gerrit-Reviewer: laforge <lafo...@osmocom.org> Gerrit-MessageType: merged