Skip to content

Commit 947e02c

Browse files
committed
Fix run workflow.
1 parent 05d013f commit 947e02c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/run.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,12 +29,12 @@ jobs:
2929
- name: Create /etc/xdpfw directory.
3030
run: sudo mkdir -p /etc/xdpfw
3131
- name: Copy XDP program to /etc/xdpfw.
32-
run: sudo cp -f ./build-output/xdp/xdp_prog.o /etc/xdpfw
32+
run: sudo cp -f ./xdp/xdp_prog.o /etc/xdpfw
3333
- name: Add execute permissions to executable file
34-
run: sudo chmod +x ./build-output/loader/xdpfw
34+
run: sudo chmod +x ./loader/xdpfw
3535
- name: Create basic config file.
3636
run: echo 'verbose = 5; filters = ( { enabled = true; log = true; action = 0; tcp_enabled = true; tcp_dport = 22; } );' > ./basic.conf
3737
- name: Retrieve default network interface
3838
run: echo "INTERFACE=$(ip route | awk '/default/ {print $5}')" >> $GITHUB_ENV
3939
- name: Run XDP FW for 10 seconds using basic config and default network interface.
40-
run: sudo ./build-output/loader/xdpfw -c ./basic.conf -t 10 -i ${{ env.INTERFACE }}
40+
run: sudo ./loader/xdpfw -c ./basic.conf -t 10 -i ${{ env.INTERFACE }}

0 commit comments

Comments
 (0)