From 0b9390411dc6ea085c8016641d11043a76853e36 Mon Sep 17 00:00:00 2001 From: Florian Reimold <11774314+FlorianReimold@users.noreply.github.com> Date: Tue, 6 Jul 2021 13:03:10 +0200 Subject: [PATCH] Updated npcap SDK and Pcap++ --- build_win/download_npcap.ps1 | 8 ++++---- cmake/Modules/FindPcapPlusPlus.cmake | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/build_win/download_npcap.ps1 b/build_win/download_npcap.ps1 index 2443e4facf..8b7b7fb418 100644 --- a/build_win/download_npcap.ps1 +++ b/build_win/download_npcap.ps1 @@ -4,8 +4,8 @@ New-Item "$target_dir" -ItemType "directory" -Force $webclient = New-Object System.Net.WebClient -$webclient.DownloadFile("https://nmap.org/npcap/dist/npcap-sdk-1.05.zip","$target_dir\npcap-sdk-1.06.zip") -$webclient.DownloadFile("https://github.com/seladb/PcapPlusPlus/releases/download/v20.08/pcapplusplus-20.08-windows-vs2015.zip","$target_dir\pcapplusplus-20.08-windows-vs2015.zip") +$webclient.DownloadFile("https://nmap.org/npcap/dist/npcap-sdk-1.10.zip","$target_dir\npcap-sdk-1.10.zip") +$webclient.DownloadFile("https://github.com/seladb/PcapPlusPlus/releases/download/v21.05/pcapplusplus-21.05-windows-vs2015.zip","$target_dir\pcapplusplus-21.05-windows-vs2015.zip") -Expand-Archive -Force -Path "$target_dir\npcap-sdk-1.06.zip" -DestinationPath "$target_dir\npcap-sdk" -Expand-Archive -Force -Path "$target_dir\pcapplusplus-20.08-windows-vs2015.zip" -DestinationPath "$target_dir" \ No newline at end of file +Expand-Archive -Force -Path "$target_dir\npcap-sdk-1.10.zip" -DestinationPath "$target_dir\npcap-sdk" +Expand-Archive -Force -Path "$target_dir\pcapplusplus-21.05-windows-vs2015.zip" -DestinationPath "$target_dir" \ No newline at end of file diff --git a/cmake/Modules/FindPcapPlusPlus.cmake b/cmake/Modules/FindPcapPlusPlus.cmake index 3c97c96ab2..b45aa6aae4 100644 --- a/cmake/Modules/FindPcapPlusPlus.cmake +++ b/cmake/Modules/FindPcapPlusPlus.cmake @@ -1,6 +1,6 @@ set(PcapPlusPlus_FOUND True) -set(PcapPlusPlus_DIR "${CMAKE_CURRENT_LIST_DIR}/../../thirdparty/npcap/pcapplusplus-20.08-windows-vs2015/") +set(PcapPlusPlus_DIR "${CMAKE_CURRENT_LIST_DIR}/../../thirdparty/npcap/pcapplusplus-21.05-windows-vs2015/") set(PcapPlusPlus_INCLUDE_DIR "${PcapPlusPlus_DIR}/header/")