Only dissect as SDp if it's IPBCP (text encoded).

svn path=/trunk/; revision=43152
This commit is contained in:
Anders Broman 2012-06-08 11:50:52 +00:00
parent 98b74816ae
commit ae43364681
1 changed files with 7 additions and 4 deletions

View File

@ -3858,10 +3858,13 @@ dissect_bat_ase_Encapsulated_Application_Information(tvbuff_t *parameter_tvb, pa
} else {
next_tvb = tvb_new_subset(parameter_tvb, offset, sdp_length, sdp_length);
}
call_dissector(sdp_handle, next_tvb, pinfo, bat_ase_element_tree);
offset = offset + sdp_length;
if(BCTP_Indicator_field_2==0x20){
/* IPBCP (text encoded) */
call_dissector(sdp_handle, next_tvb, pinfo, bat_ase_element_tree);
}else{
proto_tree_add_text(bat_ase_element_tree, next_tvb, 0, -1, "Tunnelled Protocol Data");
}
offset = offset + sdp_length;
break;
case BEARER_CONTROL_TUNNELLING :