summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source4/libcli/wrepl/winsrepl.c1
-rw-r--r--source4/libcli/wrepl/winsrepl.h1
2 files changed, 2 insertions, 0 deletions
diff --git a/source4/libcli/wrepl/winsrepl.c b/source4/libcli/wrepl/winsrepl.c
index c063a4bc6d..61bb10bf6a 100644
--- a/source4/libcli/wrepl/winsrepl.c
+++ b/source4/libcli/wrepl/winsrepl.c
@@ -611,6 +611,7 @@ NTSTATUS wrepl_associate_recv(struct wrepl_request *req,
}
if (NT_STATUS_IS_OK(status)) {
io->out.assoc_ctx = packet->message.start_reply.assoc_ctx;
+ io->out.major_version = packet->message.start_reply.major_version;
}
talloc_free(packet);
return status;
diff --git a/source4/libcli/wrepl/winsrepl.h b/source4/libcli/wrepl/winsrepl.h
index 532496d387..738ba391eb 100644
--- a/source4/libcli/wrepl/winsrepl.h
+++ b/source4/libcli/wrepl/winsrepl.h
@@ -93,6 +93,7 @@ struct wrepl_request {
struct wrepl_associate {
struct {
uint32_t assoc_ctx;
+ uint16_t major_version;
} out;
};