aboutsummaryrefslogtreecommitdiffstats
path: root/api/rundll32.c
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2020-11-01 03:19:21 +0100
committerSimon Rozman <simon@rozman.si>2020-11-02 09:17:47 +0100
commitdfa53185d0624365fc2fc3c0fe0aa098589d7b5b (patch)
treead549ba384b61a0c6450361ed707082277862721 /api/rundll32.c
parentapi: separate out driver installation (diff)
downloadwintun-dfa53185d0624365fc2fc3c0fe0aa098589d7b5b.tar.xz
wintun-dfa53185d0624365fc2fc3c0fe0aa098589d7b5b.zip
api: check for duplicate adapter status
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'api/rundll32.c')
-rw-r--r--api/rundll32.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/api/rundll32.c b/api/rundll32.c
index 1fa0bb1..3da204b 100644
--- a/api/rundll32.c
+++ b/api/rundll32.c
@@ -168,6 +168,7 @@ VOID __stdcall DoThingsForDebugging(HWND hwnd, HINSTANCE hinst, LPSTR lpszCmdLin
WintunEndSession(Session);
assert(WintunDeleteAdapter(Adapter, TRUE, &RebootRequired) == ERROR_SUCCESS);
assert(!RebootRequired);
+ system("pause");
}
#endif