diff options
author | Guy Harris <guy@alum.mit.edu> | 2017-07-30 14:50:23 -0700 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2017-07-30 21:51:00 +0000 |
commit | 74210f07fd86b03bed5ca9db57ec46e63ac1185b (patch) | |
tree | 859ea69e6bcc3ab82f35712693f7bc516afb7344 /epan/dissectors/packet-msdp.c | |
parent | 7e03e6b4eae2cc5871dda97462d1d43ec4b975b5 (diff) |
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>
Diffstat (limited to 'epan/dissectors/packet-msdp.c')
-rw-r--r-- | epan/dissectors/packet-msdp.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/epan/dissectors/packet-msdp.c b/epan/dissectors/packet-msdp.c index 430d1a5962..1d1e29003f 100644 --- a/epan/dissectors/packet-msdp.c +++ b/epan/dissectors/packet-msdp.c @@ -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); } |