diff options
author | Luis Ontanon <luis.ontanon@gmail.com> | 2006-02-11 00:13:23 +0000 |
---|---|---|
committer | Luis Ontanon <luis.ontanon@gmail.com> | 2006-02-11 00:13:23 +0000 |
commit | 009b5f7d29fd92fbddc5b3ac008441bc9cd8a098 (patch) | |
tree | 8525bd1a0041ed950781aba6433a9c3d9b7c1a08 /epan/dissectors/packet-xml.c | |
parent | f535b4cba14e94b98050f4864aa047e47a3edf04 (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.c | 3 |
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); } } |