forked from osmocom/wireshark
parent
9b38829b34
commit
baf569188a
|
@ -1655,6 +1655,9 @@ dissect_afs(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void* data)
|
|||
|
||||
void (*dissector)(tvbuff_t *tvb, struct rxinfo *rxinfo, proto_tree *tree, int offset, int opcode);
|
||||
|
||||
/* Reject the packet if data is NULL */
|
||||
if (data == NULL)
|
||||
return 0;
|
||||
|
||||
col_set_str(pinfo->cinfo, COL_PROTOCOL, "AFS (RX)");
|
||||
col_clear(pinfo->cinfo, COL_INFO);
|
||||
|
|
Loading…
Reference in New Issue