diff options
author | Guy Harris <guy@alum.mit.edu> | 2006-02-16 11:43:38 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2006-02-16 11:43:38 +0000 |
commit | b13f6dcbd34e11cb7dff5f03be9c2bdde200b22a (patch) | |
tree | c5f9bd1a6b9cfb26df3de77c2cb27d661c19e9ab /epan/dissectors/packet-dcerpc-netlogon.c | |
parent | 1b096ab156506856495860ef6b356e6992a3ba8c (diff) |
Use the new "proto_tree_add_*_format_value" routines.
svn path=/trunk/; revision=17316
Diffstat (limited to 'epan/dissectors/packet-dcerpc-netlogon.c')
-rw-r--r-- | epan/dissectors/packet-dcerpc-netlogon.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/epan/dissectors/packet-dcerpc-netlogon.c b/epan/dissectors/packet-dcerpc-netlogon.c index 7d35fcbf76..79f6a54d30 100644 --- a/epan/dissectors/packet-dcerpc-netlogon.c +++ b/epan/dissectors/packet-dcerpc-netlogon.c @@ -4781,8 +4781,8 @@ netlogon_dissect_DC_FLAGS(tvbuff_t *tvb, int offset, hf_netlogon_dc_flags, &mask); if(parent_tree){ - item = proto_tree_add_uint_format(parent_tree, hf_netlogon_dc_flags, - tvb, offset-4, 4, mask, "Domain Controller Flags: 0x%08x%s", mask, (mask==0x0000ffff)?" PING (mask==0x0000ffff)":""); + item = proto_tree_add_uint_format_value(parent_tree, hf_netlogon_dc_flags, + tvb, offset-4, 4, mask, "0x%08x%s", mask, (mask==0x0000ffff)?" PING (mask==0x0000ffff)":""); tree = proto_item_add_subtree(item, ett_dc_flags); } @@ -7155,7 +7155,7 @@ static hf_register_info hf[] = { NULL, 0x0, "Negotiation Flags", HFILL }}, { &hf_netlogon_dc_flags, - { "Flags", "netlogon.dc.flags", FT_UINT32, BASE_HEX, + { "Domain Controller Flags", "netlogon.dc.flags", FT_UINT32, BASE_HEX, NULL, 0x0, "Domain Controller Flags", HFILL }}, { &hf_netlogon_dc_flags_pdc_flag, |