summaryrefslogtreecommitdiff
path: root/packet-wtp.c
diff options
context:
space:
mode:
authorOlivier Biot <obiot.ethereal@gmail.com>2003-12-23 12:07:14 +0000
committerOlivier Biot <obiot.ethereal@gmail.com>2003-12-23 12:07:14 +0000
commit2a6e130e1033f941308428ac4b7c894716ebbf51 (patch)
treeca6b2ad0b6a8390810a0db88b2ddbf5d9d14888d /packet-wtp.c
parent16cb58be9a03cd5c8e30a7a68153d8b18c337228 (diff)
downloadwireshark-2a6e130e1033f941308428ac4b7c894716ebbf51.tar.gz
Move the GSM SMS dissection to a dedicated subdissector (currently still within
packet-smpp.c). Now the higher-level protocols show up without the need of unfolding the SMPP dissector tree. Add a new address type AT_STRINGZ, and use it for GSM SMS message reassembly. Get rid of the different UDH IE subtrees, and replace them with one subtree for all UDH IEs. Add debug logging to SMPP and SMPP GSM SMS dissectors. Move the Short Message reassembly from the SMPP dissector to the SMPP GSM SMS dissector. Fix duplicated "reassembled in" header fields. Rename header fields that are now part of SMPP GSM SMS (including the dissector table name, so it has also been updated in packet-wsp.c and packet-wtp.c). Add an explicit "if (!tree) return" in the WSP add_headers() method. NOTE: it would be great if we were able to merge the existing packet-gsm_sms.c and the SMPP GSM SMS dissector. svn path=/trunk/; revision=9431
Diffstat (limited to 'packet-wtp.c')
-rw-r--r--packet-wtp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/packet-wtp.c b/packet-wtp.c
index 418fbbdab5..69f136430c 100644
--- a/packet-wtp.c
+++ b/packet-wtp.c
@@ -2,7 +2,7 @@
*
* Routines to dissect WTP component of WAP traffic.
*
- * $Id: packet-wtp.c,v 1.57 2003/12/22 11:55:10 obiot Exp $
+ * $Id: packet-wtp.c,v 1.58 2003/12/23 12:07:14 obiot Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@@ -1003,5 +1003,5 @@ proto_reg_handoff_wtp(void)
wtp_fromudp_handle = find_dissector("wtp-udp");
dissector_add("udp.port", UDP_PORT_WTP_WSP, wtp_fromudp_handle);
- dissector_add("smpp.udh.port", UDP_PORT_WTP_WSP, wtp_fromudp_handle);
+ dissector_add("smpp.gsm-sms.udh.port", UDP_PORT_WTP_WSP, wtp_fromudp_handle);
}