aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/src/vty_interface.c
diff options
context:
space:
mode:
authorStefan Schmidt <stefan@datenfreihafen.org>2009-08-12 13:17:49 +0200
committerHarald Welte <laforge@gnumonks.org>2009-08-12 20:49:18 +0200
commitbeccbc3fbe231373aecdeb8de8210ac9202e3ebd (patch)
treeff2e757cf548c78b17d4fa2e137ffe1c709cae55 /openbsc/src/vty_interface.c
parent72914975a885e9f0d9ca6db218c7098e631b91cd (diff)
vty_interface: Remove bogus checks for Site ID and BTS ID.
Diffstat (limited to 'openbsc/src/vty_interface.c')
-rw-r--r--openbsc/src/vty_interface.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/openbsc/src/vty_interface.c b/openbsc/src/vty_interface.c
index 462cc64ea..1e0951a0c 100644
--- a/openbsc/src/vty_interface.c
+++ b/openbsc/src/vty_interface.c
@@ -895,17 +895,6 @@ DEFUN(cfg_bts_unit_id,
int site_id = atoi(argv[0]);
int bts_id = atoi(argv[1]);
- if (site_id < 0 || site_id > 65534) {
- vty_out(vty, "%% Site ID %d is not in the valid range%s",
- site_id, VTY_NEWLINE);
- return CMD_WARNING;
- }
- if (site_id < 0 || site_id > 255) {
- vty_out(vty, "%% BTS ID %d is not in the valid range%s",
- bts_id, VTY_NEWLINE);
- return CMD_WARNING;
- }
-
if (!is_ipaccess_bts(bts)) {
vty_out(vty, "%% BTS is not of ip.access type%s", VTY_NEWLINE);
return CMD_WARNING;