diff --git a/src/remote/codec.cpp b/src/remote/codec.cpp index 012b029..d136d6a 100644 --- a/src/remote/codec.cpp +++ b/src/remote/codec.cpp @@ -1514,7 +1514,7 @@ void BlockingServerTCPTransportCodec::send(ByteBuffer* buffer, buffer->putByte( 0x01 | 0x40 | ((EPICS_BYTE_ORDER == EPICS_ENDIAN_BIG) ? 0x80 : 0x00)); // control + server + endian - buffer->putByte(2); // set byte order + buffer->putByte(CMD_SET_ENDIANESS); // set byte order buffer->putInt(0);