aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors
diff options
context:
space:
mode:
authorsahlberg <sahlberg@f5534014-38df-0310-8fa8-9805f1628bb7>2005-01-30 12:21:17 +0000
committersahlberg <sahlberg@f5534014-38df-0310-8fa8-9805f1628bb7>2005-01-30 12:21:17 +0000
commitde4d8f3f1bd39cd2c58dce11c8aa66569e170f83 (patch)
tree5261261d616a0e2bff7ddf2c35b54c40b9e2d1f5 /epan/dissectors
parenta2f7237a3547f8315d9b6ab8400e0d02d71804e3 (diff)
rename lsa_dissect_POLICY_DNS_DOMAIN_INFO to lsa_dissect_DnsDomainInfo and change the signature slightly.
the signature change is to make it compatilbe with the signatures the idl compiler generates. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@13205 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'epan/dissectors')
-rw-r--r--epan/dissectors/packet-dcerpc-lsa.c10
-rw-r--r--epan/dissectors/packet-dcerpc-lsa.h4
-rw-r--r--epan/dissectors/packet-dcerpc-netlogon.c2
3 files changed, 9 insertions, 7 deletions
diff --git a/epan/dissectors/packet-dcerpc-lsa.c b/epan/dissectors/packet-dcerpc-lsa.c
index de9852e05d..19616f1d45 100644
--- a/epan/dissectors/packet-dcerpc-lsa.c
+++ b/epan/dissectors/packet-dcerpc-lsa.c
@@ -1010,9 +1010,11 @@ lsa_dissect_POLICY_AUDIT_FULL_QUERY_INFO(tvbuff_t *tvb, int offset,
}
+/*2005JAN dummy1 and dummy2 to make the signature compatible with soon to follow changes to LSA */
int
-lsa_dissect_POLICY_DNS_DOMAIN_INFO(tvbuff_t *tvb, int offset,
- packet_info *pinfo, proto_tree *parent_tree, guint8 *drep)
+lsa_dissect_DnsDomainInfo(tvbuff_t *tvb, int offset,
+ packet_info *pinfo, proto_tree *parent_tree,
+ guint8 *drep, int dummy1 _U_, guint32 dummy2 _U_)
{
proto_item *item=NULL;
proto_tree *tree=NULL;
@@ -1112,8 +1114,8 @@ lsa_dissect_POLICY_INFORMATION(tvbuff_t *tvb, int offset,
tvb, offset, pinfo, tree, drep);
break;
case 12:
- offset = lsa_dissect_POLICY_DNS_DOMAIN_INFO(
- tvb, offset, pinfo, tree, drep);
+ offset = lsa_dissect_DnsDomainInfo(
+ tvb, offset, pinfo, tree, drep, 0, 0);
break;
}
diff --git a/epan/dissectors/packet-dcerpc-lsa.h b/epan/dissectors/packet-dcerpc-lsa.h
index 3347c34d06..29fdf5d782 100644
--- a/epan/dissectors/packet-dcerpc-lsa.h
+++ b/epan/dissectors/packet-dcerpc-lsa.h
@@ -123,9 +123,9 @@ lsa_dissect_LSA_SECRET(tvbuff_t *tvb, int offset,
guint8 *drep);
int
-lsa_dissect_POLICY_DNS_DOMAIN_INFO(tvbuff_t *tvb, int offset,
+lsa_dissect_DnsDomainInfo(tvbuff_t *tvb, int offset,
packet_info *pinfo, proto_tree *parent_tree,
- guint8 *drep);
+ guint8 *drep, int dummy1, guint32 dummy2);
/* Specific access rights */
diff --git a/epan/dissectors/packet-dcerpc-netlogon.c b/epan/dissectors/packet-dcerpc-netlogon.c
index 0da424b9a3..4464103182 100644
--- a/epan/dissectors/packet-dcerpc-netlogon.c
+++ b/epan/dissectors/packet-dcerpc-netlogon.c
@@ -5013,7 +5013,7 @@ netlogon_dissect_DOMAIN_TRUST_INFO(tvbuff_t *tvb, int offset,
}
- offset = lsa_dissect_POLICY_DNS_DOMAIN_INFO(tvb, offset, pinfo, tree, drep);
+ offset = lsa_dissect_DnsDomainInfo(tvb, offset, pinfo, tree, drep, 0, 0);
/* Guesses at best. */
offset = dissect_ndr_counted_string(tvb, offset, pinfo, tree, drep,