From: Adam Dickmeiss Date: Wed, 4 Jun 2014 10:31:09 +0000 (+0200) Subject: zoom: IP auth use field "ipRanges" rather than "ip" MP-551 X-Git-Tag: v1.5.4~1 X-Git-Url: http://sru.miketaylor.org.uk/cgi-bin?a=commitdiff_plain;h=08044cc9a9980c950c294d0193c337b4ba0ba732;p=metaproxy-moved-to-github.git zoom: IP auth use field "ipRanges" rather than "ip" MP-551 --- diff --git a/src/filter_zoom.cpp b/src/filter_zoom.cpp index db3719a..69a25b8 100644 --- a/src/filter_zoom.cpp +++ b/src/filter_zoom.cpp @@ -2640,7 +2640,7 @@ void yf::Zoom::Frontend::auth(mp::Package &package, Z_InitRequest *req, } else { - torus_query = "ip encloses/net.ipaddress \""; + torus_query = "ipRanges encloses/net.ipaddress \""; torus_query += escape_cql_term(std::string(ip)); torus_query += "\""; failure_code = YAZ_BIB1_INIT_AC_BLOCKED_NETWORK_ADDRESS;