aboutsummaryrefslogtreecommitdiffstats
path: root/packet-smpp.c
diff options
context:
space:
mode:
authorguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>2002-03-10 03:08:31 +0000
committerguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>2002-03-10 03:08:31 +0000
commit7b606b8a0100acf68e2fa38fa4e34e9a26e00832 (patch)
treebcba641383772e23351cffeb75ef603f285a49ff /packet-smpp.c
parent280f66ce0ff53080b239afc49697a12a89a17585 (diff)
Register the heuristic SMPP dissector with X.25.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@4909 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'packet-smpp.c')
-rw-r--r--packet-smpp.c10
1 files changed, 8 insertions, 2 deletions
diff --git a/packet-smpp.c b/packet-smpp.c
index b1c8f52b15..62ac096017 100644
--- a/packet-smpp.c
+++ b/packet-smpp.c
@@ -2,7 +2,7 @@
* Routines for Short Message Peer to Peer dissection
* Copyright 2001, Tom Uijldert <tom.uijldert@cmg.nl>
*
- * $Id: packet-smpp.c,v 1.5 2002/03/10 01:02:06 guy Exp $
+ * $Id: packet-smpp.c,v 1.6 2002/03/10 03:08:31 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@@ -2203,9 +2203,15 @@ proto_reg_handoff_smpp(void)
/*
* SMPP can be spoken on any port under TCP or X.25
- * ...how *do* we do that under x.25?
+ * ...how *do* we do that under X.25?
+ *
+ * We can register the heuristic SMPP dissector with X.25, for one
+ * thing. We don't currently have any mechanism to allow the user
+ * to specify that a given X.25 circuit is to be dissected as SMPP,
+ * however.
*/
smpp_handle = create_dissector_handle(dissect_smpp, proto_smpp);
dissector_add_handle("tcp.port", smpp_handle);
heur_dissector_add("tcp", dissect_smpp_heur, proto_smpp);
+ heur_dissector_add("x.25", dissect_smpp_heur, proto_smpp);
}