aboutsummaryrefslogtreecommitdiffstats
path: root/asn1/ros
diff options
context:
space:
mode:
authorStig Bjørlykke <stig@bjorlykke.org>2007-11-13 10:26:30 +0000
committerStig Bjørlykke <stig@bjorlykke.org>2007-11-13 10:26:30 +0000
commit923630d743aea204021420fde5b3310b8e45177a (patch)
tree2fab2bbc0baf2f5dc2cc81d96558ae244cf80f09 /asn1/ros
parent21e67b4fa182ab3aaa688797f871ea504462b1c1 (diff)
Mark some generated items in ROS.
svn path=/trunk/; revision=23441
Diffstat (limited to 'asn1/ros')
-rw-r--r--asn1/ros/packet-ros-template.c10
1 files changed, 7 insertions, 3 deletions
diff --git a/asn1/ros/packet-ros-template.c b/asn1/ros/packet-ros-template.c
index a0a44b3fc6..c4c2351934 100644
--- a/asn1/ros/packet-ros-template.c
+++ b/asn1/ros/packet-ros-template.c
@@ -242,14 +242,18 @@ ros_match_call_response(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, gui
}
if(rcrp){ /* we have found a match */
+ proto_item *item = NULL;
if(rcrp->is_request){
- proto_tree_add_uint(tree, hf_ros_response_in, tvb, 0, 0, rcrp->rep_frame);
+ item=proto_tree_add_uint(tree, hf_ros_response_in, tvb, 0, 0, rcrp->rep_frame);
+ PROTO_ITEM_SET_GENERATED (item);
} else {
nstime_t ns;
- proto_tree_add_uint(tree, hf_ros_response_to, tvb, 0, 0, rcrp->req_frame);
+ item=proto_tree_add_uint(tree, hf_ros_response_to, tvb, 0, 0, rcrp->req_frame);
+ PROTO_ITEM_SET_GENERATED (item);
nstime_delta(&ns, &pinfo->fd->abs_ts, &rcrp->req_time);
- proto_tree_add_time(tree, hf_ros_time, tvb, 0, 0, &ns);
+ item=proto_tree_add_time(tree, hf_ros_time, tvb, 0, 0, &ns);
+ PROTO_ITEM_SET_GENERATED (item);
}
}