Commit 93c9b47
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]>1 parent d4df0a3 commit 93c9b47
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5119 | 5119 | | |
5120 | 5120 | | |
5121 | 5121 | | |
5122 | | - | |
5123 | | - | |
| 5122 | + | |
| 5123 | + | |
5124 | 5124 | | |
5125 | 5125 | | |
5126 | 5126 | | |
| |||
0 commit comments