vty_interface: Remove bogus checks for Site ID and BTS ID.

This commit is contained in:
Stefan Schmidt 2009-08-12 13:17:49 +02:00 committed by Harald Welte
parent 72914975a8
commit beccbc3fbe
1 changed files with 0 additions and 11 deletions

View File

@ -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;