1
0
Fork 0

make sure to actually register with the gsmtap dissector table

This commit is contained in:
Harald Welte 2012-01-04 21:53:38 +01:00
parent abf043ae10
commit f78d588d83
1 changed files with 4 additions and 0 deletions

View File

@ -1668,6 +1668,10 @@ proto_reg_handoff_gsm_sim(void)
static gboolean initialized = FALSE;
if (!initialized) {
dissector_handle_t dtap_handle;
dtap_handle = find_dissector("gsm_sim");
dissector_add_uint("gsmtap.type", 4, dtap_handle);
sub_handle_cap = find_dissector("etsi_cat");
} else {
/* preferences have been changed */