From aa654a1f8a0cd043eef60b7029f6874e4571dcaa Mon Sep 17 00:00:00 2001 From: Luis Ontanon Date: Thu, 1 Mar 2007 00:24:57 +0000 Subject: Those two spaces before sdp were bctp (Q.1990), a protocol conveniently encoded to be two spaces in case of IPBCP (SDP+extras). There's probably something similar in packet-isup.c svn path=/trunk/; revision=20952 --- epan/dissectors/packet-sdp.c | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'epan/dissectors/packet-sdp.c') diff --git a/epan/dissectors/packet-sdp.c b/epan/dissectors/packet-sdp.c index 87f236a4d1..f93ce41f93 100644 --- a/epan/dissectors/packet-sdp.c +++ b/epan/dissectors/packet-sdp.c @@ -303,13 +303,6 @@ dissect_sdp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) */ in_media_description = FALSE; - /* - * in order to avoid an invalid line when used to dissect a q1950 parameter - * we will find the first useful character and start parsing from there - */ - offset = tvb_pbrk_guint8(tvb, offset, -1,"abcdefghijklmnopqrstuvwxyz"); - if (offset < 0) offset = 0; - while (tvb_reported_length_remaining(tvb, offset) > 0) { /* * Find the end of the line. @@ -1835,4 +1828,5 @@ proto_reg_handoff_sdp(void) sdp_handle = find_dissector("sdp"); dissector_add_string("media_type", "application/sdp", sdp_handle); + dissector_add("bctp.tpi", 0x20, sdp_handle); } -- cgit v1.2.3