fix bpf for transition

This commit is contained in:
m0duspwnens
2024-03-11 14:07:45 -04:00
parent 907cf9f992
commit ba32b3e6e9
2 changed files with 3 additions and 2 deletions

View File

@@ -1,6 +1,6 @@
{% from 'vars/globals.map.jinja' import GLOBALS %}
{% if GLOBALS.pcap_engine == "TRANSITION" %}
{% set PCAPBPF = "ip and host 255.255.255.1 and port 1" %}
{% set PCAPBPF = ["ip and host 255.255.255.1 and port 1"] %}
{% else %}
{% import_yaml 'bpf/defaults.yaml' as BPFDEFAULTS %}
{% set BPFMERGED = salt['pillar.get']('bpf', BPFDEFAULTS.bpf, merge=True) %}