Skip to content

Commit

Permalink
Merge pull request #3958 from natali-rs1985/T6624-current
Browse files Browse the repository at this point in the history
suricata: T6624: Make it possible for suricata address groups to reference each other
  • Loading branch information
c-po authored Aug 12, 2024
2 parents a21b795 + ba87bed commit e229d74
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/conf_mode/service_suricata.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ def visit(n, v):
temporary_marks.add(n)

for m in v.get('group', []):
m = m.lstrip('!')
m = m.lstrip('!').replace('-', '_')
if m not in source:
raise ConfigError(f'Undefined referenced group "{m}"')
visit(m, source[m])
Expand Down

0 comments on commit e229d74

Please sign in to comment.