Skip to content

Commit

Permalink
Merge pull request #11613 from Security-Onion-Solutions/issue/11610
Browse files Browse the repository at this point in the history
fix issue/11610
  • Loading branch information
m0duspwnens committed Oct 24, 2023
2 parents 308e5ea + dfe707a commit 205748e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion salt/pcap/config.sls
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ pcap_sbin:
- file_mode: 755
{% if PCAPBPF %}
{% set BPF_CALC = salt['cmd.script']('/usr/sbin/so-bpf-compile', GLOBALS.sensor.interface + ' ' + PCAPBPF|join(" "),cwd='/root') %}
{% set BPF_CALC = salt['cmd.script']('salt://common/tools/sbin/so-bpf-compile', GLOBALS.sensor.interface + ' ' + PCAPBPF|join(" "),cwd='/root') %}
{% if BPF_CALC['stderr'] == "" %}
{% set BPF_COMPILED = ",\\\"--filter=" + BPF_CALC['stdout'] + "\\\"" %}
{% else %}
Expand Down
2 changes: 1 addition & 1 deletion salt/suricata/config.sls
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ surithresholding:
# BPF compilation and configuration
{% if SURICATABPF %}
{% set BPF_CALC = salt['cmd.script']('/usr/sbin/so-bpf-compile', GLOBALS.sensor.interface + ' ' + SURICATABPF|join(" "),cwd='/root') %}
{% set BPF_CALC = salt['cmd.script']('salt://common/tools/sbin/so-bpf-compile', GLOBALS.sensor.interface + ' ' + SURICATABPF|join(" "),cwd='/root') %}
{% if BPF_CALC['stderr'] == "" %}
{% set BPF_STATUS = 1 %}
{% else %}
Expand Down
2 changes: 1 addition & 1 deletion salt/zeek/config.sls
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ plcronscript:
# BPF compilation and configuration
{% if ZEEKBPF %}
{% set BPF_CALC = salt['cmd.script']('/usr/sbin/so-bpf-compile', GLOBALS.sensor.interface + ' ' + ZEEKBPF|join(" "),cwd='/root') %}
{% set BPF_CALC = salt['cmd.script']('salt://common/tools/sbin/so-bpf-compile', GLOBALS.sensor.interface + ' ' + ZEEKBPF|join(" "),cwd='/root') %}
{% if BPF_CALC['stderr'] == "" %}
{% set BPF_STATUS = 1 %}
{% else %}
Expand Down

0 comments on commit 205748e

Please sign in to comment.