aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/epan
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/epan')
-rw-r--r--plugins/epan/opcua/opcua.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/plugins/epan/opcua/opcua.c b/plugins/epan/opcua/opcua.c
index cd71f72eb8..bc5b2f8505 100644
--- a/plugins/epan/opcua/opcua.c
+++ b/plugins/epan/opcua/opcua.c
@@ -190,6 +190,14 @@ static int dissect_opcua_message(tvbuff_t *tvb, packet_info *pinfo, proto_tree *
else
{
msgtype = MSG_INVALID;
+
+ /* Clear out stuff in the info column */
+ col_set_str(pinfo->cinfo, COL_INFO, g_szMessageTypes[msgtype]);
+
+ /* add empty item to make filtering by 'opcua' work */
+ proto_tree_add_item(tree, proto_opcua, tvb, 0, -1, ENC_NA);
+
+ return tvb_reported_length(tvb);
}
/* Clear out stuff in the info column */