Fix (what appears to be) a minor bug when dissecting RTMP.

svn path=/trunk/; revision=52641
This commit is contained in:
Bill Meier 2013-10-16 14:17:05 +00:00
parent 938206442c
commit 9b40d29017
1 changed files with 2 additions and 2 deletions

View File

@ -623,10 +623,10 @@ dissect_rtmp_data(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) {
net = tvb_get_ntohs(tvb, offset);
nodelen_bits = tvb_get_guint8(tvb, offset+2);
if ( nodelen_bits <= 8 ) {
node = tvb_get_guint8(tvb, offset)+1;
node = tvb_get_guint8(tvb, offset+3);
nodelen = 1;
} else {
node = tvb_get_ntohs(tvb, offset);
node = tvb_get_ntohs(tvb, offset+3);
nodelen = 2;
}