File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ if exist .deps\prepared goto :render
2020 call :download imagemagick.zip https://download.wireguard.com/windows-toolchain/distfiles/ImageMagick-7.0.8-42-portable-Q16-x64.zip 584e069f56456ce7dde40220948ff9568ac810688c892c5dfb7f6db902aa05aa " convert.exe colors.xml delegates.xml" || goto :error
2121 rem Mirror of https://sourceforge.net/projects/ezwinports/files/make-4.2.1-without-guile-w32-bin.zip
2222 call :download make.zip https://download.wireguard.com/windows-toolchain/distfiles/make-4.2.1-without-guile-w32-bin.zip 30641be9602712be76212b99df7209f4f8f518ba764cf564262bc9d6e4047cc7 " --strip-components 1 bin" || goto :error
23- call :download wireguard-tools.zip https://git.zx2c4.com/wireguard-tools/snapshot/wireguard-tools-997ffa0c89b4a6a3998325ceeb55588bb0cf8017 .zip fb69747d1ea09d44ad686f5bd8df4d2d2a698822c06c6921058ae7dd3390fb7e " --exclude wg-quick --strip-components 1" || goto :error
23+ call :download wireguard-tools.zip https://git.zx2c4.com/wireguard-tools/snapshot/wireguard-tools-06a99cce2c9998f53eb30d2f258a9e5ff286445b .zip b7a73e027cee3127f3cccba8ad3a08ea61ccd42d3ea5c28c548a8e0ec9e10cf6 " --exclude wg-quick --strip-components 1" || goto :error
2424 call :download wireguard-nt.zip https://download.wireguard.com/wireguard-nt/wireguard-nt-0.10.1.zip 772c0b1463d8d2212716f43f06f4594d880dea4f735165bd68e388fc41b81605 || goto :error
2525 copy /y NUL prepared > NUL || goto :error
2626 cd .. || goto :error
Original file line number Diff line number Diff line change @@ -20,11 +20,17 @@ const (
2020 AdapterStateUp AdapterState = 1
2121)
2222
23+ type AllowedIpFlag uint32
24+
25+ const (
26+ AllowedIpRemove AllowedIpFlag = 1 << 0
27+ )
28+
2329type AllowedIP struct {
2430 Address [16 ]byte
2531 AddressFamily winipcfg.AddressFamily
2632 Cidr uint8
27- _ [ 4 ] byte
33+ Flags AllowedIpFlag
2834}
2935
3036type PeerFlag uint32
You can’t perform that action at this time.
0 commit comments