Skip to content

Commit

Permalink
Merge pull request #13141 from Security-Onion-Solutions/sotcprp
Browse files Browse the repository at this point in the history
move so-tcpreplay from common state to sensor state
  • Loading branch information
m0duspwnens authored Jun 5, 2024
2 parents 56a1653 + f6a8a21 commit 33a2c5d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion salt/common/tools/sbin_jinja/so-tcpreplay
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
. /usr/sbin/so-common
. /usr/sbin/so-image-common

REPLAYIFACE=${REPLAYIFACE:-"{{pillar.sensor.interface}}"}
REPLAYIFACE=${REPLAYIFACE:-"{{salt['pillar.get']('sensor:interface', '')}}"}
REPLAYSPEED=${REPLAYSPEED:-10}

mkdir -p /opt/so/samples
Expand Down
2 changes: 1 addition & 1 deletion salt/sensor/init.sls
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@ execute_checksum:
cmd.run:
- name: /etc/NetworkManager/dispatcher.d/pre-up.d/99-so-checksum-offload-disable
- onchanges:
- file: offload_script
- file: offload_script

0 comments on commit 33a2c5d

Please sign in to comment.