From a496c18997f1f9a600981d20b8204fe471afd8e0 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Wed, 19 Mar 2014 14:07:36 +0100 Subject: dcerpc.idl: make use of DCERPC_NCA_S_* constants for the legacy DCERPC_FAULT_* codes Signed-off-by: Stefan Metzmacher Reviewed-by: Andrew Bartlett --- librpc/idl/dcerpc.idl | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/librpc/idl/dcerpc.idl b/librpc/idl/dcerpc.idl index 1ffa784b24..631ad7ea7d 100644 --- a/librpc/idl/dcerpc.idl +++ b/librpc/idl/dcerpc.idl @@ -200,11 +200,11 @@ interface dcerpc DCERPC_NCA_S_FAULT_NO_CLIENT_STUB = 0x1C000025 } dcerpc_nca_status; - const int DCERPC_FAULT_OP_RNG_ERROR = 0x1c010002; - const int DCERPC_FAULT_UNK_IF = 0x1c010003; + const int DCERPC_FAULT_OP_RNG_ERROR = DCERPC_NCA_S_OP_RNG_ERROR; + const int DCERPC_FAULT_UNK_IF = DCERPC_NCA_S_UNKNOWN_IF; const int DCERPC_FAULT_NDR = 0x000006f7; - const int DCERPC_FAULT_INVALID_TAG = 0x1c000006; - const int DCERPC_FAULT_CONTEXT_MISMATCH = 0x1c00001a; + const int DCERPC_FAULT_INVALID_TAG = DCERPC_NCA_S_FAULT_INVALID_TAG; + const int DCERPC_FAULT_CONTEXT_MISMATCH = DCERPC_NCA_S_FAULT_CONTEXT_MISMATCH; const int DCERPC_FAULT_OTHER = 0x00000001; const int DCERPC_FAULT_ACCESS_DENIED = 0x00000005; const int DCERPC_FAULT_CANT_PERFORM = 0x000006d8; -- cgit