From 62d24093ae987d90e07a40a8d75f1338b5bbb14b Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Thu, 22 Nov 2012 09:54:49 +0100 Subject: [PATCH] GFS: replay implementation_version from backend From 3.0.40 and later, implementation_version from backend was not used in init response at all. --- src/seshigh.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/seshigh.c b/src/seshigh.c index bc16416..2555823 100644 --- a/src/seshigh.c +++ b/src/seshigh.c @@ -2322,6 +2322,10 @@ static Z_APDU *process_initRequest(association *assoc, request *reqb) assoc->init->implementation_id, resp->implementationId); + resp->implementationVersion = odr_prepend(assoc->encode, + assoc->init->implementation_version, + resp->implementationVersion); + resp->implementationName = odr_prepend(assoc->encode, assoc->init->implementation_name, odr_prepend(assoc->encode, "GFS", resp->implementationName)); -- 1.7.10.4