From Tobias Rutz; Minor updates.

https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=7518

svn path=/trunk/; revision=44475
This commit is contained in:
Bill Meier 2012-08-13 18:54:58 +00:00
parent 46800b6c31
commit a9424a9284
2 changed files with 6 additions and 2 deletions

View File

@ -3463,6 +3463,11 @@ Richard Stearn <richard[at]rns-stearn.demon.co.uk> {
AX.25 support
}
Tobias Rutz <tobias.rutz[at]work-microwave.de> {
DVB-S2 Baseband Frame and GSE support
}
and by:
Pavel Roskin <proski[AT]gnu.org>

View File

@ -597,7 +597,6 @@ static int dissect_dvb_s2_gse(tvbuff_t *tvb, int cur_off, proto_tree *tree, pack
return new_off;
} else {
if (BIT_IS_CLEAR(gse_hdr, DVB_S2_GSE_HDR_START_POS) || BIT_IS_CLEAR(gse_hdr, DVB_S2_GSE_HDR_STOP_POS)) {
/* TODO: needs to be tested */
proto_tree_add_item(dvb_s2_gse_tree, hf_dvb_s2_gse_fragid, tvb, cur_off + new_off, 1, ENC_BIG_ENDIAN);
@ -702,7 +701,7 @@ static gboolean test_dvb_s2_crc(tvbuff_t *tvb, guint offset) {
guint8 input8;
/* only check BB Header and return */
if (tvb_length(tvb) < (offset + DVB_S2_BB_HEADER_LEN)) /* XXX: I think 'offset + ...' is about right */
if (tvb_length(tvb) < (offset + DVB_S2_BB_HEADER_LEN))
return FALSE;
input8 = tvb_get_guint8(tvb, offset + DVB_S2_BB_OFFS_CRC);