Skip to content

Commit

Permalink
github-ci: use curl -L for npcap: follow redirects
Browse files Browse the repository at this point in the history
(cherry picked from commit 9099695)
  • Loading branch information
jasonish authored and victorjulien committed Jan 28, 2022
1 parent b4caf35 commit 85e42c9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/builds.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1140,13 +1140,13 @@ jobs:
- run: tar xf prep/suricata-update.tar.gz
- name: Npcap DLL
run: |
curl -s -O https://nmap.org/npcap/dist/npcap-1.00.exe
curl -sL -O https://nmap.org/npcap/dist/npcap-1.00.exe
7z -y x -o/npcap-bin npcap-1.00.exe
# hack: place dlls in cwd
cp /npcap-bin/*.dll .
- name: Npcap SDK
run: |
curl -s -O https://nmap.org/npcap/dist/npcap-sdk-1.06.zip
curl -sL -O https://nmap.org/npcap/dist/npcap-sdk-1.06.zip
unzip npcap-sdk-1.06.zip -d /npcap
cp /npcap/Lib/x64/* /usr/lib/
- run: tar xf prep/suricata-verify.tar.gz
Expand Down

0 comments on commit 85e42c9

Please sign in to comment.