diff options
Diffstat (limited to 'source4/libcli/wrepl/winsrepl.c')
-rw-r--r-- | source4/libcli/wrepl/winsrepl.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/source4/libcli/wrepl/winsrepl.c b/source4/libcli/wrepl/winsrepl.c index 910bed278c..516c72ef29 100644 --- a/source4/libcli/wrepl/winsrepl.c +++ b/source4/libcli/wrepl/winsrepl.c @@ -672,10 +672,9 @@ NTSTATUS wrepl_pull_names_recv(struct wrepl_request *req, name->num_addresses = 1; name->addresses = talloc(io->out.names, struct wrepl_address); if (name->addresses == NULL) goto failed; - name->addresses[0].owner = talloc_steal(name->addresses, - wname->addresses.address.owner); + name->addresses[0].owner = io->in.partner.address; name->addresses[0].address = talloc_steal(name->addresses, - wname->addresses.address.ip); + wname->addresses.ip); } } |