Sort diameter.applicationId fix a typo.

Change-Id: Id585371df929cdff17f98dddbebf063fa000ff56
Reviewed-on: https://code.wireshark.org/review/3229
Reviewed-by: Anders Broman <a.broman58@gmail.com>
This commit is contained in:
AndersBroman 2014-07-28 19:35:02 +02:00 committed by Anders Broman
parent 083d6e7c7d
commit ff01321da2
2 changed files with 5 additions and 1 deletions

View File

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Radomly chosen application as it's needed to parse the xml-->
<!-- Randomly chosen application as it's needed to parse the xml-->
<application id="16777304" name="Ericsson Sy" uri="http://www.iana.org/assignments/aaa-parameters/aaa-parameters.xml">
<avp name="Dummy" code="0" mandatory="mustnot" protected="may" vendor-bit="must" vendor-id="SKT" may-encrypt="yes">
<type type-name="Unsigned32"/>

View File

@ -1686,6 +1686,10 @@ dictionary_load(void)
g_array_append_val(arr,item);
}
g_array_sort(arr, compare_avps);
/* TODO: Remove duplicates */
dictionary.applications = (value_string *)arr->data;
g_array_free(arr,FALSE);
}