aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNeels Hofmeyr <nhofmeyr@sysmocom.de>2016-12-16 14:16:41 +0100
committerNeels Hofmeyr <nhofmeyr@sysmocom.de>2016-12-16 14:19:19 +0100
commitecdfd6d097eb0030b1a0a003fb855b38733f9ba6 (patch)
treeb9e482c0294497b83109eeef42e7b6f1fc38044b
parent37f9252361c85249b59d5a9202147136782b5415 (diff)
fix: missing terminator in two value_string arrays
iu_event_type_names[] and auth_action_names[] lacked a { 0, NULL }. Change-Id: I2e3f271b887e711c8139fbaa32410c16e7fe9921
-rw-r--r--openbsc/src/libiu/iu.c1
-rw-r--r--openbsc/src/libmsc/auth.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/openbsc/src/libiu/iu.c b/openbsc/src/libiu/iu.c
index 87a02d8e3..c15c6c5f3 100644
--- a/openbsc/src/libiu/iu.c
+++ b/openbsc/src/libiu/iu.c
@@ -95,6 +95,7 @@ const struct value_string iu_event_type_names[] = {
IU_EVT_STR(IU_EVENT_IU_RELEASE),
IU_EVT_STR(IU_EVENT_LINK_INVALIDATED),
#undef IU_EVT_STR
+ { 0, NULL }
};
struct ue_conn_ctx *ue_conn_ctx_alloc(struct osmo_sccp_link *link, uint32_t conn_id)
diff --git a/openbsc/src/libmsc/auth.c b/openbsc/src/libmsc/auth.c
index 9191ae8b3..3b1fd738a 100644
--- a/openbsc/src/libmsc/auth.c
+++ b/openbsc/src/libmsc/auth.c
@@ -39,6 +39,7 @@ const struct value_string auth_action_names[] = {
AUTH_ACTION_STR(AUTH_DO_CIPH),
AUTH_ACTION_STR(AUTH_DO_AUTH),
#undef AUTH_ACTION_STR
+ { 0, NULL }
};
static int