aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-xml.c
diff options
context:
space:
mode:
authorLuis Ontanon <luis.ontanon@gmail.com>2006-02-11 00:13:23 +0000
committerLuis Ontanon <luis.ontanon@gmail.com>2006-02-11 00:13:23 +0000
commit009b5f7d29fd92fbddc5b3ac008441bc9cd8a098 (patch)
tree8525bd1a0041ed950781aba6433a9c3d9b7c1a08 /epan/dissectors/packet-xml.c
parentf535b4cba14e94b98050f4864aa047e47a3edf04 (diff)
From ENDOH Akira:
Add heuristic dissection of XML to SIP bodies with unknown media_type. svn path=/trunk/; revision=17247
Diffstat (limited to 'epan/dissectors/packet-xml.c')
-rw-r--r--epan/dissectors/packet-xml.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/epan/dissectors/packet-xml.c b/epan/dissectors/packet-xml.c
index 5f619449fc..323b4a2160 100644
--- a/epan/dissectors/packet-xml.c
+++ b/epan/dissectors/packet-xml.c
@@ -1166,7 +1166,8 @@ static void init_xml_names(void) {
static void apply_prefs(void) {
if (pref_heuristic) {
- heur_dissector_add("http", dissect_xml_heur, xml_ns.hf_tag);
+ heur_dissector_add("http", dissect_xml_heur, xml_ns.hf_tag);
+ heur_dissector_add("sip", dissect_xml_heur, xml_ns.hf_tag);
heur_dissector_add("media", dissect_xml_heur, xml_ns.hf_tag);
}
}