summaryrefslogtreecommitdiff
path: root/epan/radius_dict.l
diff options
context:
space:
mode:
authorLuis Ontanon <luis.ontanon@gmail.com>2005-09-19 17:42:02 +0000
committerLuis Ontanon <luis.ontanon@gmail.com>2005-09-19 17:42:02 +0000
commita6ff6fb97cf1bced68902616cc702ac172537e83 (patch)
tree1e730fe77510acbff8e455484532a29adfc414d4 /epan/radius_dict.l
parentd2e3d4504243ae727759dd2b48dbbd7ce70a05dc (diff)
downloadwireshark-a6ff6fb97cf1bced68902616cc702ac172537e83.tar.gz
- allow multiple attributes inside one VSA (fixes bug 438)
- preference to choose whether to add the AVP's payload length items - preference to add an alternate UDP port svn path=/trunk/; revision=15870
Diffstat (limited to 'epan/radius_dict.l')
-rw-r--r--epan/radius_dict.l3
1 files changed, 2 insertions, 1 deletions
diff --git a/epan/radius_dict.l b/epan/radius_dict.l
index 46afa171f8..027e9df874 100644
--- a/epan/radius_dict.l
+++ b/epan/radius_dict.l
@@ -172,7 +172,8 @@ void add_vendor(gchar* name, guint32 vendor_id) {
v->name = name;
v->code = vendor_id;
v->attrs_by_id = g_hash_table_new(g_direct_hash,g_direct_equal);
-
+ v->ett = -1;
+
g_hash_table_insert(dict->vendors_by_id,GUINT_TO_POINTER(v->code),v);
g_hash_table_insert(dict->vendors_by_name,v->name,v);
}