From: Adam Dickmeiss Date: Thu, 22 Nov 2012 08:54:49 +0000 (+0100) Subject: GFS: replay implementation_version from backend X-Git-Tag: v4.2.47~4 X-Git-Url: http://sru.miketaylor.org.uk/cgi-bin?a=commitdiff_plain;h=62d24093ae987d90e07a40a8d75f1338b5bbb14b;p=yaz-moved-to-github.git GFS: replay implementation_version from backend From 3.0.40 and later, implementation_version from backend was not used in init response at all. --- 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));