diff options
author | Pau Espin Pedrol <pespin@sysmocom.de> | 2021-01-18 17:14:14 +0100 |
---|---|---|
committer | Pau Espin Pedrol <pespin@sysmocom.de> | 2021-01-20 12:36:21 +0100 |
commit | d1049dc8cc3a150140569b711b7bbf11336211e7 (patch) | |
tree | 5b588a6f36dc21975cd004f9fe5db35efa716485 /src/pcu_vty_functions.cpp | |
parent | e91c4c72b17a1d77e23e4c1514db40307ff66a48 (diff) |
Allow multiple bts objects in PCU
This patch doesn't really tests whether osmo-pcu can work on a multi-bts
environment, but it prepares the data structures to be able to do so at
any later point in time.
Change-Id: I6b10913f46c19d438c4e250a436a7446694b725a
Diffstat (limited to 'src/pcu_vty_functions.cpp')
-rw-r--r-- | src/pcu_vty_functions.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pcu_vty_functions.cpp b/src/pcu_vty_functions.cpp index 231bce7c..48780c0f 100644 --- a/src/pcu_vty_functions.cpp +++ b/src/pcu_vty_functions.cpp @@ -246,7 +246,7 @@ int pcu_vty_show_bts_pdch(struct vty *vty, const struct gprs_rlcmac_bts *bts) { unsigned int trx_nr, ts_nr; - vty_out(vty, "BTS (%s)%s", bts->active ? "active" : "disabled", VTY_NEWLINE); + vty_out(vty, "BTS%" PRIu8 " (%s)%s", bts->nr, bts->active ? "active" : "disabled", VTY_NEWLINE); for (trx_nr = 0; trx_nr < ARRAY_SIZE(bts->trx); trx_nr++) { const struct gprs_rlcmac_trx *trx = &bts->trx[trx_nr]; |