Max has uploaded this change for review. ( 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(-)
git pull ssh://gerrit.osmocom.org:29418/osmo-bsc refs/changes/53/12553/1
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: newchange
Gerrit-Change-Id: Ia413bd1b375d874cd79a2bf06eb82477417ead1a
Gerrit-Change-Number: 12553
Gerrit-PatchSet: 1
Gerrit-Owner: Max <[email protected]>