aboutsummaryrefslogtreecommitdiffstats
path: root/packet-dcerpc-lsa.c
diff options
context:
space:
mode:
authorRonnie Sahlberg <ronnie_sahlberg@ozemail.com.au>2003-05-21 09:34:54 +0000
committerRonnie Sahlberg <ronnie_sahlberg@ozemail.com.au>2003-05-21 09:34:54 +0000
commit1cedc6aab920fddaa0b8ba043fe61b27f9f9e30b (patch)
tree32e5bdc29033dad7d167c4c93440d8b2e41e7371 /packet-dcerpc-lsa.c
parent524a84b5e9159d3b1cbae12a017bf4f31e23b613 (diff)
Change the interface to dissect_ndr_nt_PSID to take one extra parameter which if !=-1 is a hf field for the sid to use instead of the default smb.sid one.
svn path=/trunk/; revision=7706
Diffstat (limited to 'packet-dcerpc-lsa.c')
-rw-r--r--packet-dcerpc-lsa.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/packet-dcerpc-lsa.c b/packet-dcerpc-lsa.c
index 04d1f0a580..84ef2244c4 100644
--- a/packet-dcerpc-lsa.c
+++ b/packet-dcerpc-lsa.c
@@ -3,7 +3,7 @@
* Copyright 2001,2003 Tim Potter <tpot@samba.org>
* 2002 Added LSA command dissectors Ronnie Sahlberg
*
- * $Id: packet-dcerpc-lsa.c,v 1.77 2003/05/15 02:14:00 tpot Exp $
+ * $Id: packet-dcerpc-lsa.c,v 1.78 2003/05/21 09:34:53 sahlberg Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@@ -784,7 +784,7 @@ lsa_dissect_POLICY_PRIMARY_DOMAIN_INFO(tvbuff_t *tvb, int offset,
/* sid */
offset = dissect_ndr_nt_PSID(tvb, offset,
- pinfo, tree, drep);
+ pinfo, tree, drep, -1);
proto_item_set_len(item, offset-old_offset);
return offset;
@@ -811,7 +811,7 @@ lsa_dissect_POLICY_ACCOUNT_DOMAIN_INFO(tvbuff_t *tvb, int offset,
/* sid */
offset = dissect_ndr_nt_PSID(tvb, offset,
- pinfo, tree, drep);
+ pinfo, tree, drep, -1);
proto_item_set_len(item, offset-old_offset);
return offset;
@@ -1025,7 +1025,7 @@ lsa_dissect_POLICY_DNS_DOMAIN_INFO(tvbuff_t *tvb, int offset,
pinfo, tree, drep);
/* SID pointer */
- offset = dissect_ndr_nt_PSID(tvb, offset, pinfo, tree, drep);
+ offset = dissect_ndr_nt_PSID(tvb, offset, pinfo, tree, drep, -1);
proto_item_set_len(item, offset-old_offset);
return offset;
@@ -1361,7 +1361,7 @@ lsa_dissect_LSA_TRUST_INFORMATION(tvbuff_t *tvb, int offset,
/* sid */
offset = dissect_ndr_nt_PSID(tvb, offset,
- pinfo, tree, drep);
+ pinfo, tree, drep, -1);
proto_item_set_len(item, offset-old_offset);
return offset;
@@ -1451,7 +1451,7 @@ lsa_dissect_LSA_TRUST_INFORMATION_EX(tvbuff_t *tvb, int offset,
/* sid */
offset = dissect_ndr_nt_PSID(tvb, offset,
- pinfo, tree, drep);
+ pinfo, tree, drep, -1);
/* direction */
offset = dissect_ndr_uint32 (tvb, offset, pinfo, tree, drep,
@@ -2282,7 +2282,7 @@ lsa_dissect_LSA_TRUSTED_DOMAIN(tvbuff_t *tvb, int offset,
/* sid */
offset = dissect_ndr_nt_PSID(tvb, offset,
- pinfo, tree, drep);
+ pinfo, tree, drep, -1);
proto_item_set_len(item, offset-old_offset);
return offset;