Constify some more value_strings.
svn path=/trunk/; revision=28101
This commit is contained in:
parent
db297df99a
commit
b751e5367c
|
@ -126,7 +126,7 @@ static void snmp_usm_password_to_key_sha1(const guint8 *password, guint password
|
|||
static snmp_usm_auth_model_t model_md5 = {snmp_usm_password_to_key_md5, snmp_usm_auth_md5, 16};
|
||||
static snmp_usm_auth_model_t model_sha1 = {snmp_usm_password_to_key_sha1, snmp_usm_auth_sha1, 20};
|
||||
|
||||
static value_string auth_types[] = {
|
||||
static const value_string auth_types[] = {
|
||||
{0,"MD5"},
|
||||
{1,"SHA1"},
|
||||
{0,NULL}
|
||||
|
@ -134,7 +134,7 @@ static value_string auth_types[] = {
|
|||
static snmp_usm_auth_model_t* auth_models[] = {&model_md5,&model_sha1};
|
||||
|
||||
|
||||
static value_string priv_types[] = {
|
||||
static const value_string priv_types[] = {
|
||||
{0,"DES"},
|
||||
{1,"AES"},
|
||||
{0,NULL}
|
||||
|
|
|
@ -750,7 +750,7 @@ static dissector_handle_t gsmmap_handle;
|
|||
static dissector_handle_t camel_handle;
|
||||
static dissector_handle_t inap_handle;
|
||||
|
||||
static value_string sccp_users_vals[] = {
|
||||
static const value_string sccp_users_vals[] = {
|
||||
{ SCCP_USER_DATA, "Data"},
|
||||
{ SCCP_USER_TCAP, "TCAP"},
|
||||
{ SCCP_USER_RANAP, "RANAP"},
|
||||
|
|
|
@ -134,7 +134,7 @@ static void snmp_usm_password_to_key_sha1(const guint8 *password, guint password
|
|||
static snmp_usm_auth_model_t model_md5 = {snmp_usm_password_to_key_md5, snmp_usm_auth_md5, 16};
|
||||
static snmp_usm_auth_model_t model_sha1 = {snmp_usm_password_to_key_sha1, snmp_usm_auth_sha1, 20};
|
||||
|
||||
static value_string auth_types[] = {
|
||||
static const value_string auth_types[] = {
|
||||
{0,"MD5"},
|
||||
{1,"SHA1"},
|
||||
{0,NULL}
|
||||
|
@ -142,7 +142,7 @@ static value_string auth_types[] = {
|
|||
static snmp_usm_auth_model_t* auth_models[] = {&model_md5,&model_sha1};
|
||||
|
||||
|
||||
static value_string priv_types[] = {
|
||||
static const value_string priv_types[] = {
|
||||
{0,"DES"},
|
||||
{1,"AES"},
|
||||
{0,NULL}
|
||||
|
|
Loading…
Reference in New Issue