diff options
Diffstat (limited to 'src/pcu_vty_functions.cpp')
-rw-r--r-- | src/pcu_vty_functions.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/pcu_vty_functions.cpp b/src/pcu_vty_functions.cpp index 0a80a235..001164c8 100644 --- a/src/pcu_vty_functions.cpp +++ b/src/pcu_vty_functions.cpp @@ -67,7 +67,7 @@ static void tbf_print_vty_info(struct vty *vty, gprs_rlcmac_tbf *tbf) vty_out(vty, " CS=%s", tbf->current_cs().name()); if (ul_tbf) { - gprs_rlc_ul_window *win = &ul_tbf->m_window; + gprs_rlc_ul_window *win = ul_tbf->window(); vty_out(vty, " WS=%u V(Q)=%d V(R)=%d", ul_tbf->window_size(), win->v_q(), win->v_r()); vty_out(vty, "%s", VTY_NEWLINE); @@ -79,7 +79,7 @@ static void tbf_print_vty_info(struct vty *vty, gprs_rlcmac_tbf *tbf) } } if (dl_tbf) { - gprs_rlc_dl_window *win = &dl_tbf->m_window; + gprs_rlc_dl_window *win = dl_tbf->window(); vty_out(vty, " WS=%u V(A)=%d V(S)=%d nBSN=%d%s", dl_tbf->window_size(), win->v_a(), win->v_s(), win->resend_needed(), win->window_stalled() ? " STALLED" : ""); |