From 15dd1497f290956586f5fdf20250cd9fb536a398 Mon Sep 17 00:00:00 2001 From: Matej Sekoranja Date: Tue, 9 Sep 2014 22:35:37 +0200 Subject: [PATCH] set endianess control message server flag --- src/remote/codec.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/remote/codec.cpp b/src/remote/codec.cpp index c3b10ca..8e8b5ce 100644 --- a/src/remote/codec.cpp +++ b/src/remote/codec.cpp @@ -1603,8 +1603,8 @@ namespace epics { buffer->putByte(PVA_MAGIC); buffer->putByte(PVA_VERSION); buffer->putByte( - 0x01 | ((EPICS_BYTE_ORDER == EPICS_ENDIAN_BIG) - ? 0x80 : 0x00)); // control + big endian + 0x01 | 0x40 | ((EPICS_BYTE_ORDER == EPICS_ENDIAN_BIG) + ? 0x80 : 0x00)); // control + server + endian buffer->putByte(2); // set byte order buffer->putInt(0);