aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-pdcp-lte.c
diff options
context:
space:
mode:
authorMartin Mathieson <martin.r.mathieson@googlemail.com>2012-03-08 16:30:39 +0000
committerMartin Mathieson <martin.r.mathieson@googlemail.com>2012-03-08 16:30:39 +0000
commit60a22a4072860d4defb6852f2ae2729511a432c7 (patch)
treeccbb46493270fe64a1c5e6cec37f758bfe1898da /epan/dissectors/packet-pdcp-lte.c
parent3a7cc2b72582793cff878f5dfd6ef77d9f3edcfc (diff)
Want to write RRC info column info always. Also save and restore writable
flag. svn path=/trunk/; revision=41435
Diffstat (limited to 'epan/dissectors/packet-pdcp-lte.c')
-rw-r--r--epan/dissectors/packet-pdcp-lte.c9
1 files changed, 8 insertions, 1 deletions
diff --git a/epan/dissectors/packet-pdcp-lte.c b/epan/dissectors/packet-pdcp-lte.c
index b31d0281e9..9729db588b 100644
--- a/epan/dissectors/packet-pdcp-lte.c
+++ b/epan/dissectors/packet-pdcp-lte.c
@@ -2096,8 +2096,15 @@ static void dissect_pdcp_lte(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree
tvbuff_t *payload_tvb = tvb_new_subset(tvb, offset,
tvb_length_remaining(tvb, offset) - 4,
tvb_length_remaining(tvb, offset) - 4);
- /* Don't worry about 'Layer' preferences - we always want to see RRC in info column */
+ gboolean was_writable = col_get_writable(pinfo->cinfo);
+
+ /* We always want to see this in the info column */
+ col_set_writable(pinfo->cinfo, TRUE);
+
call_dissector_only(rrc_handle, payload_tvb, pinfo, pdcp_tree);
+
+ /* Restore to whatever it was */
+ col_set_writable(pinfo->cinfo, was_writable);
}
else {
/* Just show data */