Make top-level items for interleaved RTSP packets be items for the RTSP
authorGuy Harris <guy@alum.mit.edu>
Sat, 13 Jan 2001 02:28:27 +0000 (02:28 -0000)
committerGuy Harris <guy@alum.mit.edu>
Sat, 13 Jan 2001 02:28:27 +0000 (02:28 -0000)
protocol, as well as top-level items for regular RTSP, so that the
filter expression "rtsp" matches both of them.

svn path=/trunk/; revision=2887

packet-rtsp.c

index d82f2ed382d4350087187f4fe42a2ac8debb68ce..bd7015d80bb879506cbbf37c931c4fcfa8a006f1 100644 (file)
@@ -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.34 2001/01/11 20:14:24 guy Exp $
+ * $Id: packet-rtsp.c,v 1.35 2001/01/13 02:28:27 guy Exp $
  *
  * Ethereal - Network traffic analyzer
  * By Gerald Combs <gerald@zing.org>
@@ -96,7 +96,7 @@ dissect_rtspinterleaved(tvbuff_t *tvb, int offset, packet_info *pinfo,
                return -1;
        }
 
-       ti = proto_tree_add_text(tree, tvb, offset, 4,
+       ti = proto_tree_add_protocol_format(tree, proto_rtsp, tvb, offset, 4,
                "RTSP Interleaved Frame, Channel: 0x%02x, %u bytes",
                rf_chan, rf_len);
        rtspframe_tree = proto_item_add_subtree(ti, ett_rtspframe);