X-Git-Url: http://git.indexdata.com/?p=yazproxy-moved-to-github.git;a=blobdiff_plain;f=src%2Fmod_helsinki.cpp;h=150e9ab5e2e1c29b680176d4a9372f9a7a0fe0f0;hp=23c3d407c1c53ea41d6c706c90ba0da025544841;hb=5ace60a2d363137c0e55b78611be2aa00e1d0e2d;hpb=47e64a294a4548ee3c7eaf9fb244672dd380e959 diff --git a/src/mod_helsinki.cpp b/src/mod_helsinki.cpp index 23c3d40..150e9ab 100644 --- a/src/mod_helsinki.cpp +++ b/src/mod_helsinki.cpp @@ -151,7 +151,7 @@ int my_authenticate(void *user_handle, // 192.168.0.100 // 192.168.0.1-192.168.0.200 int status = YAZPROXY_RET_PERM; - if (ip_file && peer_IP) + if (*ip_file && peer_IP) { yaz_log(YLOG_DEBUG, "Authentication: checking ip address");