2
0
Эх сурвалжийг харах

secfilter: Documentation updated regarding country filtering [skip ci]

pepelux 3 долоо хоног өмнө
parent
commit
43f819497a

+ 2 - 2
src/modules/secfilter/doc/secfilter_admin.xml

@@ -371,8 +371,8 @@
 
         if (geoip2_match("$si", "src")) {
                 secf_check_country($gip2(src=>cc));
-                if ($avp(secfilter) != 2) {
-                        xlog("L_ALERT", "$rm from $si blocked because Country '$gip2(src=>cc)' is not whitelisted");
+                if ($? != 2) {
+                        xdbg("$rm from $si blocked because Country '$gip2(src=>cc)' is not whitelisted");
                         exit;
                 }
         }