$country = substr(exec("{$pathgeoip} -f {$pathgeoipdat} {$host}"), 23, 2);
 } else {
     $country = substr(exec("{$pathgeoip6} -f {$pathgeoipdat6} {$host}"), 26, 2);
 }
 // Find the header which alerted this host
 if ($pfb_query != 'Country') {
     if (strpos($rule, 'pfB_DNSBLIP') !== FALSE) {
         $pfb_match[1] = 'DNSBLIP';
         // Default pfB_DNSBLIP
         $pfb_match[2] = '';
     } else {
         // Report specific ET IQRisk details
         if ($pfb['et_header'] && strpos($pfb_query, "{$et_header}") !== FALSE) {
             $pfbfolder = "{$pfb['etdir']}/*";
         }
         $pfb_query = find_reported_header($host, $pfbfolder, FALSE);
         // Split list column into two lines.
         $pfb_match[1] = "{$pfb_query[1]}";
         $pfb_match[2] = "{$pfb_query[0]}";
         // Remove Suppression Icon for 'no match' and all subnets except for '/32 & /24'.
         if ($pfb_query[2]) {
             $src_icons = $src_icons_1;
             $dst_icons = $dst_icons_1;
         } else {
             $src_icons = $src_icons_2;
             $dst_icons = $dst_icons_2;
         }
     }
 } else {
     $pfb_match[1] = 'Country';
     $pfb_match[2] = '';
     $country = substr(exec("{$pathgeoip} -f {$pathgeoipdat} {$host}"), 23, 2);
 } else {
     $country = substr(exec("{$pathgeoip6} -f {$pathgeoipdat6} {$host}"), 26, 2);
 }
 // Find the header which alerted this host
 if ($pfb_query != 'Country') {
     if (strpos($rule, 'pfB_DNSBLIP') !== FALSE) {
         $pfb_match[1] = 'DNSBLIP';
         // Default pfB_DNSBLIP
         $pfb_match[2] = '';
     } else {
         $pfb_query = find_reported_header($host, $pfbfolder, FALSE);
         // Report specific ET IQRisk details
         if ($pfb['et_header'] && strpos($pfb_query[1], "{$et_header}") !== FALSE) {
             $ET_orig = $pfb_query;
             $pfb_query = find_reported_header($host, "{$pfb['etdir']}/*", FALSE);
             // On 'no match', ET IQRisk category is unknown.
             if ($pfb_query[1] == 'no match') {
                 $pfb_query = $ET_orig;
             }
         }
         // Split list column into two lines.
         $pfb_match[1] = "{$pfb_query[1]}";
         $pfb_match[2] = "{$pfb_query[0]}";
         // Remove Suppression Icon for 'no match' and all subnets except for '/32 & /24'.
         if ($pfb_query[2]) {
             $src_icons = $src_icons_1;
             $dst_icons = $dst_icons_1;
         } else {
             $src_icons = $src_icons_2;
             $dst_icons = $dst_icons_2;