Add an RFC reference and fix deprecated API.

Change-Id: I8dcddc6bcbaf462a6e74b76764ea26b7f5b08920
Reviewed-on: https://code.wireshark.org/review/4996
Reviewed-by: Anders Broman <a.broman58@gmail.com>
This commit is contained in:
AndersBroman 2014-10-30 15:58:58 +01:00 committed by Anders Broman
parent 79c977cf0a
commit f8c7a5bdff
1 changed files with 2 additions and 1 deletions

View File

@ -22,6 +22,7 @@
*
* References:
* RFC 3267 http://www.ietf.org/rfc/rfc3267.txt?number=3267
* RFC 4867 http://www.rfc-editor.org/rfc/rfc4867.txt
* 3GPP TS 26.101 for AMR-NB, 3GPP TS 26.201 for AMR-WB
*/
@ -615,7 +616,7 @@ dissect_amr_name(tvbuff_t *tvb _U_, packet_info *pinfo, proto_tree *tree, void*
}
}
return tvb_length(tvb);
return tvb_reported_length(tvb);
}
void