diff --git a/diameter/Cisco.xml b/diameter/Cisco.xml
index b4c31f2842..23a8ba4941 100644
--- a/diameter/Cisco.xml
+++ b/diameter/Cisco.xml
@@ -1,11 +1,10 @@
-
+
-
@@ -28,7 +27,7 @@
-
+
@@ -48,7 +47,7 @@
-
+
@@ -58,9 +57,9 @@
-
+
-
+
@@ -72,7 +71,7 @@
-
+
@@ -82,10 +81,10 @@
-
+
-
+
@@ -119,9 +118,9 @@
-
+
-
+
@@ -130,9 +129,9 @@
-
+
-
+
@@ -141,9 +140,9 @@
-
+
-
+
@@ -172,24 +171,24 @@
-
+
-
+
-
+
-
+
-
-
+
+
@@ -205,9 +204,9 @@
-
+
-
+
@@ -218,41 +217,41 @@
-
+
-
-
+
+
-
-
+
+
-
-
+
+
-
+
-
+
-
+
-
+
-
+
-
-
+
+
@@ -261,181 +260,181 @@
-
-
-
+
+
+
-
-
-
+
+
+
-
-
-
-
+
+
+
+
-
-
+
+
-
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
-
-
+
+
+
+
-
+
-
-
-
+
+
+
-
-
+
+
-
-
+
+
-
+
-
-
+
+
-
+
-
-
+
+
-
-
+
+
-
+
-
-
+
+
-
+
-
-
+
+
-
-
+
+
-
-
-
+
+
+
-
-
+
+
-
-
-
+
+
+
-
-
+
+
-
-
+
+
-
+
-
+
-
-
-
-
-
+
+
+
+
+
-
-
+
+
-
-
+
+
-
-
-
+
+
+
@@ -447,16 +446,16 @@
-
-
-
+
+
+
-
-
-
+
+
+
@@ -465,8 +464,8 @@
-
-
+
+
@@ -476,15 +475,15 @@
-
-
+
+
-
-
-
+
+
+
@@ -493,83 +492,83 @@
-
-
-
-
-
+
+
+
+
+
-
-
-
+
+
+
-
+
-
-
+
+
-
+
-
-
+
+
-
-
+
+
-
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
-
-
+
+
+
+
-
-
+
+
-
-
+
+
-
-
-
+
+
+
@@ -578,15 +577,15 @@
-
+
-
-
-
-
-
-
+
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@
-
+
-
-
+
+
-
-
+
+
-
+
-
+
@@ -1124,24 +1123,24 @@
-
+
-
-
+
+
-
+
-
+
-
+
-
+
-
+
@@ -1149,43 +1148,43 @@
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
@@ -1195,20 +1194,20 @@
-
-
+
+
-
-
+
+
-
-
+
+
-
+
@@ -1222,14 +1221,14 @@
-
+
-
+
-
+
-
+
@@ -1238,7 +1237,7 @@
-
+
@@ -1251,14 +1250,14 @@
-
+
-
+
@@ -1270,21 +1269,21 @@
-
+
-
+
-
+
-
+
-
+
@@ -1292,35 +1291,35 @@
-
+
-
+
-
+
-
+
-
+
@@ -1328,9 +1327,9 @@
-
+
-
+
@@ -1340,32 +1339,32 @@
-
+
-
+
-
+
-
+
-
+
@@ -1385,7 +1384,7 @@
-
+
@@ -1430,7 +1429,7 @@
-
+
@@ -1475,7 +1474,5 @@
-
-
-
-
+
+
diff --git a/diameter/Oracle.xml b/diameter/Oracle.xml
index fe5ab71671..5eab3b7a0a 100644
--- a/diameter/Oracle.xml
+++ b/diameter/Oracle.xml
@@ -1,23 +1,23 @@
-
+
-
+
-
+
-
+
-
+
-
+
diff --git a/diameter/VerizonWireless.xml b/diameter/VerizonWireless.xml
index c0fabc8495..9b05483613 100644
--- a/diameter/VerizonWireless.xml
+++ b/diameter/VerizonWireless.xml
@@ -1,7 +1,9 @@
-
+
-
-
-
-
\ No newline at end of file
+
+
+
+
+
+
\ No newline at end of file
diff --git a/diameter/Vodafone.xml b/diameter/Vodafone.xml
index 499e031ac8..8630f8688b 100644
--- a/diameter/Vodafone.xml
+++ b/diameter/Vodafone.xml
@@ -1,5 +1,7 @@
+
+
diff --git a/diameter/dictionary.xml b/diameter/dictionary.xml
index 4a47e5b246..d72a62b4fe 100644
--- a/diameter/dictionary.xml
+++ b/diameter/dictionary.xml
@@ -168,37 +168,6 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
@@ -6637,6 +6606,9 @@
+
+
+
+
+
@@ -6674,6 +6647,34 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
&nasreq;
&eap;
diff --git a/epan/diam_dict.l b/epan/diam_dict.l
index c89a02dd21..3cf67859a1 100644
--- a/epan/diam_dict.l
+++ b/epan/diam_dict.l
@@ -178,6 +178,8 @@ grouped_start
grouped_end <\/grouped>
vendor_start
+
gavp_start {name_attr} { ATTR_STR(cmd->name); }
-{vendor_attr} { ATTR_STR(cmd->vendor); }
+{vendor_attr} { ATTR_STR(cmd->vendor); }
{code_attr} { ATTR_UINT(cmd->code); }
{stop} |
{stop_end} { BEGIN IN_APPL; }
-{vendor_start} {
+{vendor_start} {
D(("vendor_start\n"));
vnd = g_new(ddict_vendor_t,1);
@@ -417,8 +419,8 @@ description_attr description=\042
{name_attr} { ATTR_STR(vnd->desc); }
{vendor_attr} { ATTR_STR(vnd->name); }
{code_attr} { ATTR_UINT(vnd->code); }
-{stop} |
-{stop_end} { BEGIN IN_APPL; }
+{stop} { BEGIN IN_APPL; }
+{stop_end} { BEGIN IN_DICT; }
{typedefn_start} {
D(("typedefn_start\n"));
@@ -460,10 +462,10 @@ description_attr description=\042
}
{name_attr} { ATTR_STR(avp->name); }
-{description_attr} { ATTR_STR(avp->description); }
+{description_attr} { ATTR_STR(avp->description); }
{vendor_attr} { ATTR_STR(avp->vendor); }
{code_attr} { ATTR_UINT(avp->code); }
-{stop} { BEGIN IN_AVP; }
+{stop} { BEGIN IN_AVP; }
{stop_end} { BEGIN IN_APPL; }
@@ -509,15 +511,20 @@ description_attr description=\042
{name_attr} { ATTR_STR(enumitem->name); }
{code_attr} { ATTR_UINT(enumitem->code); }
-{stop} { BEGIN IN_AVP; }
+{stop} { BEGIN IN_AVP; }
{stop_end} { BEGIN IN_AVP; }
{avp_end} { D(("avp_end\n")); BEGIN IN_APPL; }
-{application_end} |
-{base_end} {
+{application_end} {
D(("application_end\n")); BEGIN IN_DICT;
}
+{vendor_end} {
+ D(("vendor_end\n")); BEGIN IN_DICT;
+}
+{base_end} {
+ D(("base_end\n")); BEGIN IN_DICT;
+}
{dictionary_end} {
yyterminate();