diff options
author | Michael Mann <mmann78@netscape.net> | 2016-06-14 11:55:08 -0400 |
---|---|---|
committer | Anders Broman <a.broman58@gmail.com> | 2016-06-15 06:03:57 +0000 |
commit | 0ef1d941ea971fc4367b97ca7e7ab7a2ee9e9b88 (patch) | |
tree | 824d57e52d2cef773f6f93394483bd0f32cc94b8 /epan/dissectors/packet-openflow_v1.c | |
parent | c19e6c24067fd0aa1ea628de85f25ef9ece08839 (diff) |
Allow control of individual columns to be (un)writable.
Most protocols just want to limit COL_INFO or COL_PROTOCOL
so give that level of granularity.
Bug: 12144
Bug: 5117
Bug: 11144
Change-Id: I8de9b7d2c69e90d3fbfc0a52c2bd78c3de58e2f8
Reviewed-on: https://code.wireshark.org/review/15894
Reviewed-by: Jeff Morriss <jeff.morriss.ws@gmail.com>
Petri-Dish: Anders Broman <a.broman58@gmail.com>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Anders Broman <a.broman58@gmail.com>
Diffstat (limited to 'epan/dissectors/packet-openflow_v1.c')
-rw-r--r-- | epan/dissectors/packet-openflow_v1.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-openflow_v1.c b/epan/dissectors/packet-openflow_v1.c index 41c9bd62df..52f89b83f2 100644 --- a/epan/dissectors/packet-openflow_v1.c +++ b/epan/dissectors/packet-openflow_v1.c @@ -838,7 +838,7 @@ dissect_openflow_v1(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void *d /* Stop the Ethernet frame from overwriting the columns */ if((type == OFPT_1_0_PACKET_IN) || (type == OFPT_1_0_PACKET_OUT)){ - col_set_writable(pinfo->cinfo, FALSE); + col_set_writable(pinfo->cinfo, -1, FALSE); } /* Create display subtree for the protocol */ |