replication + zfs: leave From field instead of To field empty for initial send

This commit is contained in:
Christian Schwarz
2018-10-14 13:06:23 +02:00
parent f13749380d
commit 3c06235dca
2 changed files with 15 additions and 13 deletions
+1 -1
View File
@@ -485,7 +485,7 @@ func (s *ReplicationStep) buildSendRequest(dryRun bool) (sr *pdu.SendReq) {
if s.from == nil {
sr = &pdu.SendReq{
Filesystem: fs,
From: s.to.RelName(), // FIXME fix protocol to use To, like zfs does internally
To: s.to.RelName(),
DryRun: dryRun,
}
} else {