Browse Source

secfilter: Documentation updated regarding country filtering [skip ci]

pepelux 3 weeks ago
parent
commit
43f819497a
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/modules/secfilter/doc/secfilter_admin.xml

+ 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;
                 }
         }