aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <zecke@selfish.org>2011-02-10 11:37:13 +0100
committerHolger Hans Peter Freyther <zecke@selfish.org>2011-02-18 23:44:49 +0100
commit6e1a676e210b10899b34bf4bc9f391d52ddc8869 (patch)
tree2f1ea09785bda42c5be2d505ba1b535d63abab85 /openbsc
parent8dcebd3e7f787d1badb78d3b8ffb98543adca5c9 (diff)
bsc: core-mobile-country-code and core-mobile-network-code range is too small
Make both VTY commands have the same range as the normal MCC and NCC command in the config file.
Diffstat (limited to 'openbsc')
-rw-r--r--openbsc/src/bsc/osmo_bsc_vty.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/openbsc/src/bsc/osmo_bsc_vty.c b/openbsc/src/bsc/osmo_bsc_vty.c
index 116cf90d..16677427 100644
--- a/openbsc/src/bsc/osmo_bsc_vty.c
+++ b/openbsc/src/bsc/osmo_bsc_vty.c
@@ -107,7 +107,7 @@ DEFUN(cfg_net_bsc_token,
DEFUN(cfg_net_bsc_ncc,
cfg_net_bsc_ncc_cmd,
- "core-mobile-network-code <0-255>",
+ "core-mobile-network-code <1-999>",
"Use this network code for the backbone\n" "NCC value\n")
{
struct osmo_msc_data *data = osmo_msc_data(vty);
@@ -117,7 +117,7 @@ DEFUN(cfg_net_bsc_ncc,
DEFUN(cfg_net_bsc_mcc,
cfg_net_bsc_mcc_cmd,
- "core-mobile-country-code <0-255>",
+ "core-mobile-country-code <1-999>",
"Use this country code for the backbone\n" "MCC value\n")
{
struct osmo_msc_data *data = osmo_msc_data(vty);