diff options
author | Tim Potter <tpot@samba.org> | 2003-02-04 05:22:41 +0000 |
---|---|---|
committer | Tim Potter <tpot@samba.org> | 2003-02-04 05:22:41 +0000 |
commit | e2d77c29113420b5ec4b200bd30ddd356d3a2c46 (patch) | |
tree | 2a0dcc797a090a97e16ca54f28f45a6445a93edd | |
parent | 6b8a47a691746fb4d6c52122be40e840d05335ac (diff) |
Remove out of date comment.
Display server name in COL_INFO for OpenPolicy2 request.
svn path=/trunk/; revision=7070
-rw-r--r-- | packet-dcerpc-lsa.c | 14 |
1 files changed, 5 insertions, 9 deletions
diff --git a/packet-dcerpc-lsa.c b/packet-dcerpc-lsa.c index 33facd242d..86536ba203 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.65 2003/02/03 02:14:00 tpot Exp $ + * $Id: packet-dcerpc-lsa.c,v 1.66 2003/02/04 05:22:41 tpot Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@ethereal.com> @@ -458,11 +458,6 @@ lsa_dissect_ACCESS_MASK(tvbuff_t *tvb, int offset, return offset; } -/* - * XXX - it'd be nice if we could arrange that this be passed - * some out-of-band indication of whether the handle is being opened, - * closed, or just used. - */ static int lsa_dissect_LSA_HANDLE(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, char *drep) @@ -592,7 +587,6 @@ lsa_dissect_lsaopenpolicy_rqst(tvbuff_t *tvb, int offset, return offset; } - static int lsa_dissect_lsaopenpolicy_reply(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, char *drep) @@ -610,8 +604,10 @@ static int lsa_dissect_lsaopenpolicy2_rqst(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, char *drep) { - offset = dissect_ndr_str_pointer_item(tvb, offset, pinfo, tree, drep, - NDR_POINTER_UNIQUE, "Server", hf_lsa_server, 0); + offset = dissect_ndr_pointer_cb(tvb, offset, pinfo, tree, drep, + dissect_ndr_wchar_array, NDR_POINTER_UNIQUE, "Server", + hf_lsa_server, cb_str_postprocess, + GINT_TO_POINTER(CB_STR_COL_INFO | CB_STR_SAVE | 1)); offset = dissect_ndr_pointer(tvb, offset, pinfo, tree, drep, lsa_dissect_LSA_OBJECT_ATTRIBUTES, NDR_POINTER_REF, |