Add logging support

This commit adds the TRX_ID in the output of VTY command "show tbf all".

Change-Id: Ia5412dddb899e20963f884e02bdf796b6ea7ee6c
This commit is contained in:
Mrinal Mishra 2016-10-26 15:41:56 +05:30
parent f868bdbe76
commit d453eaa788
1 changed files with 2 additions and 0 deletions

View File

@ -61,6 +61,8 @@ static void tbf_print_vty_info(struct vty *vty, gprs_rlcmac_tbf *tbf)
if (tbf->pdch[i])
vty_out(vty, "%d%s ", i, is_ctrl ? "!" : "");
}
if (tbf->trx != NULL)
vty_out(vty, " TRX_ID=%d", tbf->trx->trx_no);
vty_out(vty, " CS=%s WS=%d",
tbf->current_cs().name(), tbf->window()->ws());