From 7466880e8a09aa7a9bb797b70fa44bca397881d9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20Valverde?= Date: Sat, 24 Jun 2017 14:25:41 +0100 Subject: Parse enterprise-numbers at run time MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit "enterprise-numbers" is converted to tab-separated values and renamed "enterprises". Unused fields are stripped. PENs are stored in a hash table loaded at run-time. User "enterprises" file is loaded from the personal config dir. Misc make-sminmpec.pl improvements and fixes. Note: names of type "Entity (formerly ...)" have the formerly part commented out for a cleaner output. Change-Id: I60c533afbe3e399077fbf432088064471ad3e1e2 Reviewed-on: https://code.wireshark.org/review/22246 Petri-Dish: João Valverde Tested-by: Petri Dish Buildbot Reviewed-by: Peter Wu Reviewed-by: João Valverde --- epan/proto.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'epan/proto.h') diff --git a/epan/proto.h b/epan/proto.h index 7306ad1d8e..deecd478a3 100644 --- a/epan/proto.h +++ b/epan/proto.h @@ -70,6 +70,8 @@ WS_DLL_PUBLIC int hf_text_only; /** the maximum length of a protocol field string representation */ #define ITEM_LABEL_LENGTH 240 +#define ITEM_LABEL_UNKNOWN_STR "Unknown" + struct expert_field; /** Make a const value_string[] look like a _value_string pointer, used to set header_field_info.strings */ -- cgit v1.2.1