From 85e42c9d472741253ac6dd465a6d717d132e140a Mon Sep 17 00:00:00 2001 From: Jason Ish Date: Thu, 20 Jan 2022 23:21:08 -0600 Subject: [PATCH] github-ci: use curl -L for npcap: follow redirects (cherry picked from commit 90996958aa32ef3ff789c28b6efcb8ded2cef342) --- .github/workflows/builds.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/builds.yml b/.github/workflows/builds.yml index b631864a0ae2..1a04944cbaec 100644 --- a/.github/workflows/builds.yml +++ b/.github/workflows/builds.yml @@ -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