vty: Fix wrong value_string used to print llme state

Change-Id: Id3eec91b47029964092087858e4ae3a824929ce3
changes/55/30855/1
Pau Espin 2023-01-04 13:53:57 +01:00
parent b0b582bff8
commit e5614e434f
1 changed files with 1 additions and 1 deletions

View File

@ -79,7 +79,7 @@ static void vty_dump_llme(struct vty *vty, struct gprs_llc_llme *llme)
get_value_string(gprs_cipher_names, llme->algo), llme->iov_ui,
llme->cksn, llme->age_timestamp == GPRS_LLME_RESET_AGE ? 0 :
(int)(now_tp.tv_sec - (time_t)llme->age_timestamp),
get_value_string(gprs_llc_state_strs, llme->state), VTY_NEWLINE);
get_value_string(gprs_llc_llme_state_names, llme->state), VTY_NEWLINE);
for (i = 0; i < ARRAY_SIZE(valid_sapis); i++) {
struct gprs_llc_lle *lle;