From 55eda0fb0cb4e3a7e388439167dbd8761a7f01ee Mon Sep 17 00:00:00 2001 From: guy Date: Sat, 11 May 2002 22:29:43 +0000 Subject: In "dissect_nt_policy_hnd()": add arguments to specify whether the policy handle is being opened or closed, and don't set the "open frame" for the handle unless it's being opened and don't set the "close frame" for the handle unless it's being closed; store the policy handle before fetching it, so that an open or close is marked appropriately in the protocol tree on the first pass; if the policy handle has a name associated with it, put that name into the top-level item for the policy handle. In "packet-dcerpc-spoolss.c": get rid of aun unused variable; make "setjob_commands[]" static, as it's not used outside "packet-dcerpc-spoolss.c"; put a "VALS()" call around the reference to "setjob_commands", to squelch compiler warnings; give the SPOOLSS return code field the appropriate "value_string" array. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@5448 f5534014-38df-0310-8fa8-9805f1628bb7 --- packet-dcerpc-nt.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'packet-dcerpc-nt.h') diff --git a/packet-dcerpc-nt.h b/packet-dcerpc-nt.h index 7e440282b4..983a8dde87 100644 --- a/packet-dcerpc-nt.h +++ b/packet-dcerpc-nt.h @@ -2,7 +2,7 @@ * Routines for DCERPC over SMB packet disassembly * Copyright 2001, Tim Potter * - * $Id: packet-dcerpc-nt.h,v 1.23 2002/05/09 02:44:22 tpot Exp $ + * $Id: packet-dcerpc-nt.h,v 1.24 2002/05/11 22:28:05 guy Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs @@ -163,7 +163,7 @@ dissect_doserror(tvbuff_t *tvb, gint offset, packet_info *pinfo, int dissect_nt_policy_hnd(tvbuff_t *tvb, gint offset, packet_info *pinfo, proto_tree *tree, char *drep, int hfindex, - e_ctx_hnd *pdata); + e_ctx_hnd *pdata, gboolean is_open, gboolean is_close); int dissect_nt_GUID(tvbuff_t *tvb, int offset, -- cgit v1.2.3