aboutsummaryrefslogtreecommitdiff
path: root/src/libstore/daemon.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/libstore/daemon.cc')
-rw-r--r--src/libstore/daemon.cc6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/libstore/daemon.cc b/src/libstore/daemon.cc
index 101aa13a5..1ddd1a4d5 100644
--- a/src/libstore/daemon.cc
+++ b/src/libstore/daemon.cc
@@ -981,7 +981,11 @@ void processConnection(
readInt(from);
}
- readInt(from); // obsolete reserveSpace
+ if (GET_PROTOCOL_MINOR(clientVersion) >= 11)
+ readInt(from); // obsolete reserveSpace
+
+ if (GET_PROTOCOL_MINOR(clientVersion) >= 33)
+ to << nixVersion;
/* Send startup error messages to the client. */
tunnelLogger->startWork();