aboutsummaryrefslogtreecommitdiff
path: root/src/libstore/remote-store-connection.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/libstore/remote-store-connection.hh')
-rw-r--r--src/libstore/remote-store-connection.hh4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/libstore/remote-store-connection.hh b/src/libstore/remote-store-connection.hh
index ce4740a9c..e4a9cacb9 100644
--- a/src/libstore/remote-store-connection.hh
+++ b/src/libstore/remote-store-connection.hh
@@ -30,7 +30,7 @@ struct RemoteStore::Connection
* sides support. (If the maximum doesn't exist, we would fail to
* establish a connection and produce a value of this type.)
*/
- unsigned int daemonVersion;
+ WorkerProto::Version daemonVersion;
/**
* Whether the remote side trusts us or not.
@@ -70,6 +70,7 @@ struct RemoteStore::Connection
{
return WorkerProto::ReadConn {
.from = from,
+ .version = daemonVersion,
};
}
@@ -85,6 +86,7 @@ struct RemoteStore::Connection
{
return WorkerProto::WriteConn {
.to = to,
+ .version = daemonVersion,
};
}