Skip to content

Commit

Permalink
suricata: T6624: Fix for service suricata address-groups cannot be us…
Browse files Browse the repository at this point in the history
…ed in each other
  • Loading branch information
natali-rs1985 authored and c-po committed Aug 12, 2024
1 parent 709bbdd commit 8457743
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 8457743

Please sign in to comment.