summaryrefslogtreecommitdiff
path: root/librpc/idl
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2014-01-09 15:59:56 +0100
committerGünther Deschner <gd@samba.org>2014-01-16 16:22:53 +0100
commit572ea36c79ffaca1950fc27303d665a283b5be96 (patch)
tree1cc27d9344b902ddc12a3a0b8ee1bb47c01a99b1 /librpc/idl
parent3d4a2be29f570263103d96f8fb32bfd019d34a1c (diff)
downloadsamba-572ea36c79ffaca1950fc27303d665a283b5be96.tar.gz
dcerpc.idl: make use of dcerpc_bind_nak_reason
Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Guenther Deschner <gd@samba.org>
Diffstat (limited to 'librpc/idl')
-rw-r--r--librpc/idl/dcerpc.idl5
1 files changed, 3 insertions, 2 deletions
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;