diff options
author | Alexander Couzens <lynxis@fe80.eu> | 2018-12-26 00:17:22 +0100 |
---|---|---|
committer | gsmevent admin <admin@gsmevent.box> | 2018-12-26 00:20:37 +0100 |
commit | ada0f7c2319a202a887ca1f6e3453a6687790ce3 (patch) | |
tree | 50483bc15cc5f2c49f5cb9cb4be117236c595d39 | |
parent | 9fcc523314d2c080555c2bb55ff740599bbdfed8 (diff) |
msc/ran_conn: ensure enum ran_type has defined values
as this is sent over the network, it's important to have well defined types
-rw-r--r-- | include/osmocom/msc/ran_conn.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/osmocom/msc/ran_conn.h b/include/osmocom/msc/ran_conn.h index 3c7a1bfcb..3bd16165b 100644 --- a/include/osmocom/msc/ran_conn.h +++ b/include/osmocom/msc/ran_conn.h @@ -8,9 +8,9 @@ #include <osmocom/mgcp_client/mgcp_client.h> enum ran_type { - RAN_UNKNOWN, - RAN_GERAN_A, /* 2G / A-interface */ - RAN_UTRAN_IU, /* 3G / Iu-interface (IuCS or IuPS) */ + RAN_UNKNOWN = 0, + RAN_GERAN_A = 1, /* 2G / A-interface */ + RAN_UTRAN_IU= 2, /* 3G / Iu-interface (IuCS or IuPS) */ }; extern const struct value_string ran_type_names[]; |