/* we need at least 8 bytes to determine whether this is
Ether-S-I/O or not*/
/* minimal length is 20 bytes*/
- if (tvb_captured_length(tvb) < 20) {
+ if (tvb_length(tvb) < 20) {
return FALSE;
}
/* First four bytes must be "ESIO"*/
break;
} /* switch() */
- return tvb_captured_length(tvb);
+ return tvb_length(tvb);
/*End of dissect_sbus*/
}