diff options
Diffstat (limited to 'source4/librpc')
-rw-r--r-- | source4/librpc/rpc/dcerpc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/librpc/rpc/dcerpc.c b/source4/librpc/rpc/dcerpc.c index bdebf798198..a0b00aff817 100644 --- a/source4/librpc/rpc/dcerpc.c +++ b/source4/librpc/rpc/dcerpc.c @@ -2051,10 +2051,10 @@ uint32_t dcerpc_auth_level(struct dcecli_connection *c) auth_level = DCERPC_AUTH_LEVEL_PRIVACY; } else if (c->flags & DCERPC_SIGN) { auth_level = DCERPC_AUTH_LEVEL_INTEGRITY; - } else if (c->flags & DCERPC_CONNECT) { - auth_level = DCERPC_AUTH_LEVEL_CONNECT; } else if (c->flags & DCERPC_PACKET) { auth_level = DCERPC_AUTH_LEVEL_PACKET; + } else if (c->flags & DCERPC_CONNECT) { + auth_level = DCERPC_AUTH_LEVEL_CONNECT; } else { auth_level = DCERPC_AUTH_LEVEL_NONE; } |