aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--README.md2
-rw-r--r--example/example.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/README.md b/README.md
index 6993d01..1a4276e 100644
--- a/README.md
+++ b/README.md
@@ -22,7 +22,7 @@ WINTUN_ADAPTER_HANDLE Adapter3 = WintunCreateAdapter(L"WireGuard", L"Data Center
After creating an adapter, we can use it by starting a session:
```C
-WINTUN_SESSION_HANDLE Session = WintunStartSession(Adapter2, 0x40000);
+WINTUN_SESSION_HANDLE Session = WintunStartSession(Adapter2, 0x400000);
```
Then, the `WintunAllocateSendPacket` and `WintunSendPacket` functions can be used for sending packets ([used by `SendPackets` in the example.c code](https://git.zx2c4.com/wintun/tree/example/example.c)):
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");