summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source4/librpc/rpc/dcerpc_util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/librpc/rpc/dcerpc_util.c b/source4/librpc/rpc/dcerpc_util.c
index 7068d7b0b5..242067fe78 100644
--- a/source4/librpc/rpc/dcerpc_util.c
+++ b/source4/librpc/rpc/dcerpc_util.c
@@ -131,7 +131,7 @@ NTSTATUS dcerpc_epm_map_tcp_port(const char *server,
dcerpc_pipe_close(p);
return status;
}
- if (r.out.status != 0 || r.out.num_towers != 1) {
+ if (r.out.result != 0 || r.out.num_towers != 1) {
dcerpc_pipe_close(p);
return NT_STATUS_PORT_UNREACHABLE;
}