aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-dcerpc-nt.c
diff options
context:
space:
mode:
authorsahlberg <sahlberg@f5534014-38df-0310-8fa8-9805f1628bb7>2005-02-16 10:25:00 +0000
committersahlberg <sahlberg@f5534014-38df-0310-8fa8-9805f1628bb7>2005-02-16 10:25:00 +0000
commitdcb36a0713141b5d9f651e91746efcb568cd607c (patch)
treea694e2ec32e22b411c777433d1fc2a4906672e01 /epan/dissectors/packet-dcerpc-nt.c
parent9b7484e9460263163f085abd092d35eda14356da (diff)
mark the frame opened/closed fields for policy handles as GENERATED fields
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@13412 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'epan/dissectors/packet-dcerpc-nt.c')
-rw-r--r--epan/dissectors/packet-dcerpc-nt.c15
1 files changed, 10 insertions, 5 deletions
diff --git a/epan/dissectors/packet-dcerpc-nt.c b/epan/dissectors/packet-dcerpc-nt.c
index c4d32ec63e..ab6112bf5d 100644
--- a/epan/dissectors/packet-dcerpc-nt.c
+++ b/epan/dissectors/packet-dcerpc-nt.c
@@ -872,15 +872,20 @@ dissect_nt_policy_hnd(tvbuff_t *tvb, gint offset, packet_info *pinfo,
if (dcerpc_smb_fetch_pol(&hnd, &name, &open_frame, &close_frame,
pinfo->fd->num)) {
- if (open_frame)
- proto_tree_add_uint(
+ if (open_frame) {
+ proto_item *item;
+ item=proto_tree_add_uint(
subtree, hf_nt_policy_open_frame, tvb,
old_offset, sizeof(e_ctx_hnd), open_frame);
-
- if (close_frame)
- proto_tree_add_uint(
+ PROTO_ITEM_SET_GENERATED(item);
+ }
+ if (close_frame) {
+ proto_item *item;
+ item=proto_tree_add_uint(
subtree, hf_nt_policy_close_frame, tvb,
old_offset, sizeof(e_ctx_hnd), close_frame);
+ PROTO_ITEM_SET_GENERATED(item);
+ }
/*
* Don't append the handle name if pitem is null; that's