Test to see if packet is actually a request by verifying the one byte function code is a non-zero value.
svn path=/trunk/; revision=22749
This commit is contained in:
parent
82b75c4a19
commit
1506ed6fcc
|
@ -95,7 +95,7 @@ dissect_lpd(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
|
|||
}
|
||||
|
||||
if (check_col(pinfo->cinfo, COL_INFO)) {
|
||||
if (lpr_packet_type == request) {
|
||||
if (lpr_packet_type == request && code !=0) {
|
||||
col_set_str(pinfo->cinfo, COL_INFO, val_to_str(code, lpd_client_code, "Unknown client code: %u"));
|
||||
}
|
||||
else if (lpr_packet_type == response) {
|
||||
|
|
Loading…
Reference in New Issue