forked from osmocom/wireshark
Make the protocol column read-only, too.
The original code made all columns read-only; making only the info column read-only makes the packet summary look weird, with the contained protocol shown but the info from MSDP shown. Change-Id: Iaa8afcb98a26a94230d5f344261f202ea658d077 Reviewed-on: https://code.wireshark.org/review/22878 Reviewed-by: Guy Harris <guy@alum.mit.edu>
This commit is contained in:
parent
7e03e6b4ea
commit
74210f07fd
|
@ -339,10 +339,11 @@ static void dissect_msdp_sa(tvbuff_t *tvb, packet_info *pinfo,
|
|||
reported_length = length;
|
||||
|
||||
next_tvb = tvb_new_subset_length(tvb, *offset, reported_length);
|
||||
/* Set the information columns read-only so that they
|
||||
* reflect the MSDP packet rather than the
|
||||
/* Set the protocol and information columns read-only so
|
||||
* that they reflect the MSDP packet rather than the
|
||||
* encapsulated packet.
|
||||
*/
|
||||
col_set_writable(pinfo->cinfo, COL_PROTOCOL, FALSE);
|
||||
col_set_writable(pinfo->cinfo, COL_INFO, FALSE);
|
||||
call_dissector(ip_handle, next_tvb, pinfo, enc_tree);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue