aboutsummaryrefslogtreecommitdiffstats
path: root/packet-rtsp.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2001-05-31 20:40:29 +0000
committerGuy Harris <guy@alum.mit.edu>2001-05-31 20:40:29 +0000
commit374151cc40d359419c82741d333ef938fd0f99b0 (patch)
tree0775924cfcb74cb271cbf2d6c0a4e315feda960c /packet-rtsp.c
parentc3db6052cb255780e6935abe3ba2b2435a1aa05c (diff)
Support for leading LWS in RTSP headers, from Robert Tsai.
svn path=/trunk/; revision=3493
Diffstat (limited to 'packet-rtsp.c')
-rw-r--r--packet-rtsp.c10
1 files changed, 9 insertions, 1 deletions
diff --git a/packet-rtsp.c b/packet-rtsp.c
index 6a2016b6bf..cb0e7612d9 100644
--- a/packet-rtsp.c
+++ b/packet-rtsp.c
@@ -4,7 +4,7 @@
* Jason Lango <jal@netapp.com>
* Liberally copied from packet-http.c, by Guy Harris <guy@alum.mit.edu>
*
- * $Id: packet-rtsp.c,v 1.36 2001/01/25 06:14:14 guy Exp $
+ * $Id: packet-rtsp.c,v 1.37 2001/05/31 20:40:29 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@zing.org>
@@ -439,6 +439,14 @@ dissect_rtspmessage(tvbuff_t *tvb, int offset, packet_info *pinfo,
*/
is_mime_header = TRUE;
goto is_rtsp;
+
+ case ' ':
+ case '\t':
+ /*
+ * LWS (RFC-2616, 4.2); continue the previous
+ * header.
+ */
+ goto is_rtsp;
}
}