Allways use sminmpec_values_ext to print the vendor id regardless if we have it in the database or not.

svn path=/trunk/; revision=45736
This commit is contained in:
Anders Broman 2012-10-23 11:49:19 +00:00
parent 4c792b7214
commit b70e8b63ff
1 changed files with 2 additions and 4 deletions

View File

@ -1024,10 +1024,8 @@ void dissect_attribute_value_pairs(proto_tree *tree, packet_info *pinfo, tvbuff_
offset += 4;
vendor = g_hash_table_lookup(dict->vendors_by_id,GUINT_TO_POINTER(vendor_id));
if (vendor) {
vendor_str = vendor->name;
} else {
vendor_str = val_to_str_ext_const(vendor_id, &sminmpec_values_ext, "Unknown");
vendor_str = val_to_str_ext_const(vendor_id, &sminmpec_values_ext, "Unknown");
if (!vendor) {
vendor = &no_vendor;
}
proto_item_append_text(avp_item, " v=%s(%u)", vendor_str,