From 572ea36c79ffaca1950fc27303d665a283b5be96 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Thu, 9 Jan 2014 15:59:56 +0100 Subject: dcerpc.idl: make use of dcerpc_bind_nak_reason Signed-off-by: Stefan Metzmacher Reviewed-by: Guenther Deschner --- librpc/idl/dcerpc.idl | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'librpc/idl') diff --git a/librpc/idl/dcerpc.idl b/librpc/idl/dcerpc.idl index 6bb96da3740..5fb7377d76f 100644 --- a/librpc/idl/dcerpc.idl +++ b/librpc/idl/dcerpc.idl @@ -130,12 +130,13 @@ interface dcerpc } dcerpc_bind_nak_versions; typedef [nodiscriminant] union { - [case(DECRPC_BIND_PROTOCOL_VERSION_NOT_SUPPORTED)] dcerpc_bind_nak_versions v; + [case(DCERPC_BIND_NAK_REASON_PROTOCOL_VERSION_NOT_SUPPORTED)] + dcerpc_bind_nak_versions v; [default] ; } dcerpc_bind_nak_versions_ctr; typedef struct { - uint16 reject_reason; + dcerpc_bind_nak_reason reject_reason; [switch_is(reject_reason)] dcerpc_bind_nak_versions_ctr versions; } dcerpc_bind_nak; -- cgit