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/.
Max gerrit-no-reply at lists.osmocom.orgMax has submitted this change and it was merged. ( https://gerrit.osmocom.org/12553 ) Change subject: Print BTS number on GPRS options error ...................................................................... Print BTS number on GPRS options error Change-Id: Ia413bd1b375d874cd79a2bf06eb82477417ead1a --- M src/osmo-bsc/bsc_vty.c 1 file changed, 12 insertions(+), 12 deletions(-) Approvals: Harald Welte: Looks good to me, approved Jenkins Builder: Verified diff --git a/src/osmo-bsc/bsc_vty.c b/src/osmo-bsc/bsc_vty.c index 876273e..791aebe 100644 --- a/src/osmo-bsc/bsc_vty.c +++ b/src/osmo-bsc/bsc_vty.c @@ -2698,7 +2698,7 @@ struct gsm_bts *bts = vty->index; if (bts->gprs.mode == BTS_GPRS_NONE) { - vty_out(vty, "%% GPRS not enabled on this BTS%s", VTY_NEWLINE); + vty_out(vty, "%% GPRS not enabled on BTS %u%s", bts->nr, VTY_NEWLINE); return CMD_WARNING; } @@ -2716,7 +2716,7 @@ struct gsm_bts *bts = vty->index; if (bts->gprs.mode == BTS_GPRS_NONE) { - vty_out(vty, "%% GPRS not enabled on this BTS%s", VTY_NEWLINE); + vty_out(vty, "%% GPRS not enabled on BTS %u%s", bts->nr, VTY_NEWLINE); return CMD_WARNING; } @@ -2738,7 +2738,7 @@ int idx = atoi(argv[0]); if (bts->gprs.mode == BTS_GPRS_NONE) { - vty_out(vty, "%% GPRS not enabled on this BTS%s", VTY_NEWLINE); + vty_out(vty, "%% GPRS not enabled on BTS %u%s", bts->nr, VTY_NEWLINE); return CMD_WARNING; } @@ -2759,7 +2759,7 @@ int idx = atoi(argv[0]); if (bts->gprs.mode == BTS_GPRS_NONE) { - vty_out(vty, "%% GPRS not enabled on this BTS%s", VTY_NEWLINE); + vty_out(vty, "%% GPRS not enabled on BTS %u%s", bts->nr, VTY_NEWLINE); return CMD_WARNING; } @@ -2780,7 +2780,7 @@ int idx = atoi(argv[0]); if (bts->gprs.mode == BTS_GPRS_NONE) { - vty_out(vty, "%% GPRS not enabled on this BTS%s", VTY_NEWLINE); + vty_out(vty, "%% GPRS not enabled on BTS %u%s", bts->nr, VTY_NEWLINE); return CMD_WARNING; } @@ -2801,7 +2801,7 @@ struct in_addr ia; if (bts->gprs.mode == BTS_GPRS_NONE) { - vty_out(vty, "%% GPRS not enabled on this BTS%s", VTY_NEWLINE); + vty_out(vty, "%% GPRS not enabled on BTS %u%s", bts->nr, VTY_NEWLINE); return CMD_WARNING; } @@ -2834,7 +2834,7 @@ int val = atoi(argv[1]); if (bts->gprs.mode == BTS_GPRS_NONE) { - vty_out(vty, "%% GPRS not enabled on this BTS%s", VTY_NEWLINE); + vty_out(vty, "%% GPRS not enabled on BTS %u%s", bts->nr, VTY_NEWLINE); return CMD_WARNING; } @@ -2871,7 +2871,7 @@ int val = atoi(argv[1]); if (bts->gprs.mode == BTS_GPRS_NONE) { - vty_out(vty, "%% GPRS not enabled on this BTS%s", VTY_NEWLINE); + vty_out(vty, "%% GPRS not enabled on BTS %u%s", bts->nr, VTY_NEWLINE); return CMD_WARNING; } @@ -2893,7 +2893,7 @@ struct gsm_bts *bts = vty->index; if (bts->gprs.mode == BTS_GPRS_NONE) { - vty_out(vty, "%% GPRS not enabled on this BTS%s", VTY_NEWLINE); + vty_out(vty, "%% GPRS not enabled on BTS %u%s", bts->nr, VTY_NEWLINE); return CMD_WARNING; } @@ -2910,7 +2910,7 @@ struct gsm_bts *bts = vty->index; if (bts->gprs.mode == BTS_GPRS_NONE) { - vty_out(vty, "%% GPRS not enabled on this BTS%s", VTY_NEWLINE); + vty_out(vty, "%% GPRS not enabled on BTS %u%s", bts->nr, VTY_NEWLINE); return CMD_WARNING; } @@ -2927,7 +2927,7 @@ struct gsm_bts *bts = vty->index; if (bts->gprs.mode == BTS_GPRS_NONE) { - vty_out(vty, "%% GPRS not enabled on this BTS%s", VTY_NEWLINE); + vty_out(vty, "%% GPRS not enabled on BTS %u%s", bts->nr, VTY_NEWLINE); return CMD_WARNING; } @@ -2947,7 +2947,7 @@ struct gsm_bts *bts = vty->index; if (bts->gprs.mode == BTS_GPRS_NONE) { - vty_out(vty, "%% GPRS not enabled on this BTS%s", VTY_NEWLINE); + vty_out(vty, "%% GPRS not enabled on BTS %u%s", bts->nr, VTY_NEWLINE); return CMD_WARNING; } -- To view, visit https://gerrit.osmocom.org/12553 To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings Gerrit-Project: osmo-bsc Gerrit-Branch: master Gerrit-MessageType: merged Gerrit-Change-Id: Ia413bd1b375d874cd79a2bf06eb82477417ead1a Gerrit-Change-Number: 12553 Gerrit-PatchSet: 2 Gerrit-Owner: Max <msuraev at sysmocom.de> Gerrit-Reviewer: Harald Welte <laforge at gnumonks.org> Gerrit-Reviewer: Jenkins Builder (1000002) Gerrit-Reviewer: Max <msuraev at sysmocom.de> -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20190114/ced7e1e0/attachment.htm>