Commit 7e7588d8 authored by Jondy Zhao's avatar Jondy Zhao

cygwin: remove --persist-tun when start openvpn

parent 202315a7
......@@ -10,7 +10,7 @@ def openvpn(iface, encrypt, *args, **kw):
args = ['openvpn',
'--dev-type', 'tap',
'--dev-node' if sys.platform == 'cygwin' else '--dev', iface,
'--persist-tun',
'' if sys.platform == 'cygwin' else '--persist-tun',
'--persist-key',
'--script-security', '2',
'--mute-replay-warnings',
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment