Skip to content

Commit

Permalink
Updated npcap SDK and Pcap++
Browse files Browse the repository at this point in the history
  • Loading branch information
FlorianReimold committed Jul 13, 2021
1 parent b46b0a5 commit 0b93904
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions build_win/download_npcap.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -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"
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"
2 changes: 1 addition & 1 deletion cmake/Modules/FindPcapPlusPlus.cmake
Original file line number Diff line number Diff line change
@@ -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/")

Expand Down

0 comments on commit 0b93904

Please sign in to comment.