Commit 3aacb62
tun.c: set IPv4 address temporary on Windows
Use store=active to set IPv4 address temporary so that
it will be removed on reboot. This makes the behavior
consistent with deletion and IPv6, where we already use
store=active.
https://learn.microsoft.com/en-us/windows-server/administration/windows-commands/netsh-interface
GitHub: fixes #915
Change-Id: I07311f397e6cd278b90c33f024e927c282cd03e4
Signed-off-by: Lev Stipakov <[email protected]>
Acked-by: Gert Doering <[email protected]>
Gerrit URL: https://gerrit.openvpn.net/c/openvpn/+/1430
Message-Id: <[email protected]>
URL: https://www.mail-archive.com/[email protected]/msg34975.html
Signed-off-by: Gert Doering <[email protected]>
(cherry picked from commit 93c9b47)1 parent f8f1e1a commit 3aacb62
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5649 | 5649 | | |
5650 | 5650 | | |
5651 | 5651 | | |
5652 | | - | |
5653 | | - | |
| 5652 | + | |
| 5653 | + | |
5654 | 5654 | | |
5655 | 5655 | | |
5656 | 5656 | | |
| |||
0 commit comments