summaryrefslogtreecommitdiffstats
path: root/packet-gsm_sim.c
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2012-01-04 21:53:38 +0100
committerHarald Welte <laforge@gnumonks.org>2012-01-04 21:53:38 +0100
commitf78d588d8394485afd982524532e5652996d3038 (patch)
tree8bce09032d72e9ada90ae33e791690f87099fe88 /packet-gsm_sim.c
parentabf043ae10cebd0fbfd751f09078e9b2011df731 (diff)
make sure to actually register with the gsmtap dissector table
Diffstat (limited to 'packet-gsm_sim.c')
-rw-r--r--packet-gsm_sim.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/packet-gsm_sim.c b/packet-gsm_sim.c
index 0faaafa..9ec85c7 100644
--- a/packet-gsm_sim.c
+++ b/packet-gsm_sim.c
@@ -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 */