Skip to content

Commit

Permalink
Merge pull request #139 from DenizenB/cidr-expansion-fix
Browse files Browse the repository at this point in the history
Fix cidr expansion for backends that use custom wildcard char
  • Loading branch information
thomaspatzke authored Jul 30, 2023
2 parents 4180995 + 3ce71cc commit cb875a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sigma/conversion/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -1114,7 +1114,7 @@ def convert_condition_field_eq_val_cidr(
netmask=cidr.network.netmask,
)
else: # No native CIDR support: expand into string wildcard matches on prefixes.
expanded = cidr.expand(self.wildcard_multi)
expanded = cidr.expand()
expanded_cond = ConditionOR(
[
ConditionFieldEqualsValueExpression(cond.field, SigmaString(network))
Expand Down

0 comments on commit cb875a9

Please sign in to comment.