Sort opttype_vals by the option value.

Otherwise, we get complaints when generating the value_string_ext from
it.

Change-Id: I2b4fc4c57b1f0c47706fe73187192c155593da84
Reviewed-on: https://code.wireshark.org/review/19306
Reviewed-by: Guy Harris <guy@alum.mit.edu>
This commit is contained in:
Guy Harris 2016-12-16 11:13:02 -08:00
parent 3649993ded
commit bd494c326e
1 changed files with 1 additions and 1 deletions

View File

@ -531,11 +531,11 @@ static const value_string opttype_vals[] = {
{ OPTION_ANI_AP_BSSID, "Access Point BSSID" },
{ OPTION_ANI_OPERATOR_ID, "Access Network Operator ID" },
{ OPTION_ANI_OPERATOR_REALM, "Access Network Operator Realm" },
{ OPTION_MUDURL, "Manufacturer Usage Description" },
{ OPTION_IPv6_ADDRESS_ANDSF, "ANDSF IPv6 Address" },
{ OPTION_MIP6_HA, "Mobile IPv6 Home Agent" },
{ OPTION_MIP6_HOA, "Mobile IPv6 Home Address" },
{ OPTION_NAI, "Network Access Identifier" },
{ OPTION_MUDURL, "Manufacturer Usage Description" },
{ 0, NULL }
};
static value_string_ext opttype_vals_ext = VALUE_STRING_EXT_INIT(opttype_vals);