aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/profinet
diff options
context:
space:
mode:
authorUlf Lamping <ulf.lamping@web.de>2006-06-22 19:17:43 +0000
committerUlf Lamping <ulf.lamping@web.de>2006-06-22 19:17:43 +0000
commita016d9ee4542e8d341805736d2d5f7eaf35c954b (patch)
tree0496e6518fd0d9c79597bf284e8f4d0c3420b59f /plugins/profinet
parente7100e5e8e950edb379241cb8cb6328d6f6b6803 (diff)
fix a (correct) compiler warning
svn path=/trunk/; revision=18548
Diffstat (limited to 'plugins/profinet')
-rw-r--r--plugins/profinet/packet-pn-dcp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/profinet/packet-pn-dcp.c b/plugins/profinet/packet-pn-dcp.c
index f2f1e1042b..c8411c2b93 100644
--- a/plugins/profinet/packet-pn-dcp.c
+++ b/plugins/profinet/packet-pn-dcp.c
@@ -862,7 +862,7 @@ dissect_PNDCP_PDU(tvbuff_t *tvb,
is_response = TRUE;
break;
default:
- proto_tree_add_string_format(tree, hf_pn_dcp_data, tvb, offset, tvb_length_remaining(tvb, offset), "data",
+ item = proto_tree_add_string_format(tree, hf_pn_dcp_data, tvb, offset, tvb_length_remaining(tvb, offset), "data",
"PN-DCP Unknown service type %u, Data: %d bytes", service_type, tvb_length_remaining(tvb, offset));
expert_add_info_format(pinfo, item, PI_UNDECODED, PI_WARN,
"Undecoded service type %u, %u bytes",