aboutsummaryrefslogtreecommitdiffstats
path: root/example
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2020-11-05 14:22:53 +0100
committerJason A. Donenfeld <Jason@zx2c4.com>2020-11-05 16:58:43 +0100
commit1e00f310ec542ebb37969471214b66866fd520eb (patch)
treeb290efb9c30cde6f0b636c9a8e800995d3622eee /example
parentapi: rearrange wintun.h to have better grouping and improve docs (diff)
downloadwintun-1e00f310ec542ebb37969471214b66866fd520eb.tar.xz
wintun-1e00f310ec542ebb37969471214b66866fd520eb.zip
example: raise to 4MiB
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'example')
-rw-r--r--example/example.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/example/example.c b/example/example.c
index 6baad47..1b77cb0 100644
--- a/example/example.c
+++ b/example/example.c
@@ -348,7 +348,7 @@ main(void)
goto cleanupAdapter;
}
- WINTUN_SESSION_HANDLE Session = WintunStartSession(Adapter, 0x40000);
+ WINTUN_SESSION_HANDLE Session = WintunStartSession(Adapter, 0x400000);
if (!Session)
{
LastError = LogLastError(L"Failed to create adapter");