guids are not olnly used in dcerpc interfaces and they often occur in many other protocols such as ldap and smb/smb2

move the initialization of the guid mapping table from the dcerpc dissector to a more neutral place


svn path=/trunk/; revision=18947
This commit is contained in:
Ronnie Sahlberg 2006-08-18 09:32:19 +00:00
parent 47969704c6
commit b588469ccf
3 changed files with 6 additions and 3 deletions

View File

@ -5343,9 +5343,6 @@ proto_register_dcerpc (void)
dcerpc_tap=register_tap("dcerpc");
g_hook_list_init(&dcerpc_hooks_init_protos, sizeof(GHook));
/* XXX - might better be located in a more general place than this */
guids_init();
}
void

View File

@ -2037,6 +2037,9 @@ main(int argc, char *argv[])
ep_init_chunk();
se_init_chunk();
/* initialize the GUID to name mapping table */
guids_init();
/* initialize the funnel mini-api */
initialize_funnel_ops();

View File

@ -743,6 +743,9 @@ main(int argc, char *argv[])
ep_init_chunk();
se_init_chunk();
/* initialize the GUID to name mapping table */
guids_init();
initialize_funnel_ops();
#ifdef HAVE_LIBPCAP