diff options
| author | 2026-03-24 02:42:10 +0100 | |
|---|---|---|
| committer | 2026-03-24 03:24:55 +0100 | |
| commit | 0f52c8d37528e2a768a2f63472656bc93bc4546f (patch) | |
| tree | dfa91a24f94eebac1b0897d5e3ead167fb91bbf2 /driver | |
| parent | fetcher: account for potentially mangled title bar text (diff) | |
| download | wireguard-windows-master.tar.xz wireguard-windows-master.zip | |
This also involves bumping wireguard-tools so that wg.exe is up to date.
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'driver')
| -rw-r--r-- | driver/configuration_windows.go | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/driver/configuration_windows.go b/driver/configuration_windows.go index d3fa6a14..e8cf0955 100644 --- a/driver/configuration_windows.go +++ b/driver/configuration_windows.go @@ -20,11 +20,17 @@ const ( AdapterStateUp AdapterState = 1 ) +type AllowedIpFlag uint32 + +const ( + AllowedIpRemove AllowedIpFlag = 1 << 0 +) + type AllowedIP struct { Address [16]byte AddressFamily winipcfg.AddressFamily Cidr uint8 - _ [4]byte + Flags AllowedIpFlag } type PeerFlag uint32 |
