fix: gprs_gmm, gprs_llc_vty: two unterminated value_string arrays

Change-Id: Icc4163ac4f962fe88bbebeb3310a557ba0834e84
This commit is contained in:
Neels Hofmeyr 2017-03-01 15:01:28 +01:00
parent f01bd13ca1
commit 5616cdde3a
2 changed files with 2 additions and 0 deletions

View File

@ -116,6 +116,7 @@ static const struct value_string gprs_pmm_state_names[] = {
{ MM_IDLE, "MM IDLE" },
{ MM_READY, "MM READY" },
{ MM_STANDBY, "MM STANDBY" },
{ 0, NULL }
};
static int gsm48_gmm_authorize(struct sgsn_mm_ctx *ctx);

View File

@ -48,6 +48,7 @@ struct value_string gprs_llc_state_strs[] = {
{ GPRS_LLES_ABM, "Asynchronous Balanced Mode" },
{ GPRS_LLES_LOCAL_REL, "Local Release" },
{ GPRS_LLES_TIMER_REC, "Timer Recovery" },
{ 0, NULL }
};
static void vty_dump_lle(struct vty *vty, struct gprs_llc_lle *lle)