Skip to content

Commit

Permalink
More GEOIP fixes...
Browse files Browse the repository at this point in the history
  • Loading branch information
Champ Clark III committed Aug 13, 2018
1 parent 70c98f9 commit 8f1cf3a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/processors/engine.c
Original file line number Diff line number Diff line change
Expand Up @@ -899,7 +899,7 @@ int Sagan_Engine ( _Sagan_Proc_Syslog *SaganProcSyslog_LOCAL, bool dynamic_rule_
geoip2_return = GeoIP2_Lookup_Country(ip_dst, ip_dst_bits, b );
}

if ( geoip2_return != GEOIP_SKIP )
if ( geoip2_return != GEOIP_HIT )
{

/* If country IS NOT {my value} return 1 */
Expand Down

0 comments on commit 8f1cf3a

Please sign in to comment.