aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-dcerpc-drsuapi.c
diff options
context:
space:
mode:
authormorriss <morriss@f5534014-38df-0310-8fa8-9805f1628bb7>2011-05-18 20:56:03 +0000
committermorriss <morriss@f5534014-38df-0310-8fa8-9805f1628bb7>2011-05-18 20:56:03 +0000
commit951100a318c115901b4d83efd08f1834b05f12f7 (patch)
treeac8b0f7cfd5da7ae93680bb79360188dcabfec63 /epan/dissectors/packet-dcerpc-drsuapi.c
parent9ef7661dbf2efe00b75257fe038256f266d060df (diff)
Fix a couple (value) mistakes in a value_string, taking the values from the IDL
file. Found by Martin's patch on the -dev list. Add a comment to answer the question of whether this file is autogenerated by pointing to the IDL file. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@37261 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'epan/dissectors/packet-dcerpc-drsuapi.c')
-rw-r--r--epan/dissectors/packet-dcerpc-drsuapi.c17
1 files changed, 9 insertions, 8 deletions
diff --git a/epan/dissectors/packet-dcerpc-drsuapi.c b/epan/dissectors/packet-dcerpc-drsuapi.c
index 3eb7c5b0c3..f14c6a6703 100644
--- a/epan/dissectors/packet-dcerpc-drsuapi.c
+++ b/epan/dissectors/packet-dcerpc-drsuapi.c
@@ -1,6 +1,7 @@
/* DO NOT EDIT
* This dissector is autogenerated
* (XXX - Is this true?)
+ * Well, the IDL is in epan/dissectors/dcerpc/drsuapi/ ...
*/
/* packet-dcerpc-drsuapi.c
@@ -559,7 +560,7 @@ ucarray_drsuapi_dissect_DsReplicaSyncRequest1Info_nc_dn(tvbuff_t *tvb, int offse
di=pinfo->private_data;
if(di->conformant_run){
- /*just a run to handle conformant arrays, nothing to dissect
+ /*just a run to handle conformant arrays, nothing to dissect
but we need to remember how long this array was.
see packet-dcerpc.c for examples of conformant_run
and what it is.
@@ -1925,7 +1926,7 @@ drsuapi_dissect_DsReplicaSync_response(tvbuff_t *tvb _U_, int offset _U_, packet
static int
drsuapi_dissect_uint64(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep, int hf_index, guint32 param _U_)
{
-
+
ALIGN_TO_8_BYTES;
offset=dissect_ndr_uint64(tvb, offset, pinfo, tree, drep, hf_index, NULL);
@@ -3587,10 +3588,10 @@ drsuapi_dissect_DsNameStatus(tvbuff_t *tvb, int offset, packet_info *pinfo, prot
const value_string drsuapi_DsNameFlags_vals[] = {
{ 0 , "DRSUAPI_DS_NAME_FLAG_NO_FLAGS" },
- { 0 , "DRSUAPI_DS_NAME_FLAG_SYNTACTICAL_ONLY" },
- { 0 , "DRSUAPI_DS_NAME_FLAG_EVAL_AT_DC" },
- { 0 , "DRSUAPI_DS_NAME_FLAG_GCVERIFY" },
- { 0 , "DRSUAPI_DS_NAME_FLAG_TRUST_REFERRAL" },
+ { 1 , "DRSUAPI_DS_NAME_FLAG_SYNTACTICAL_ONLY" },
+ { 2 , "DRSUAPI_DS_NAME_FLAG_EVAL_AT_DC" },
+ { 4 , "DRSUAPI_DS_NAME_FLAG_GCVERIFY" },
+ { 8 , "DRSUAPI_DS_NAME_FLAG_TRUST_REFERRAL" },
{ 0 , NULL }
};
@@ -4198,7 +4199,7 @@ drsuapi_dissect_union_DsWriteAccountSpnRequest(tvbuff_t *tvb, int offset, packet
static int
drsuapi_dissect_WERROR(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep, int hf_index, guint32 param _U_)
{
-
+
offset=dissect_ndr_uint32(tvb, offset, pinfo, tree, drep, hf_index, NULL);
return offset;
@@ -10243,7 +10244,7 @@ proto_register_drsuapi(void)
};
proto_drsuapi = proto_register_protocol(
- "DRSUAPI",
+ "DRSUAPI",
"DRSUAPI", "drsuapi");
proto_register_field_array(proto_drsuapi, hf, array_length(hf));
proto_register_subtree_array(ett, array_length(ett));