Commit 9b0d84b8 authored by Tom Niget's avatar Tom Niget

vpn: mark deprecated flag

parent 98a97ecd
......@@ -20,6 +20,7 @@ def openvpn(iface, encrypt, *args, **kw):
if ovpn_log:
args += '--log-append', os.path.join(ovpn_log, '%s.log' % iface),
if not encrypt:
# TODO: --ncp-disable was deprecated in OpenVPN 2.5 and removed in 2.6 and is no longer necessary in those versions.
args += '--cipher', 'none', '--ncp-disable'
logging.debug('%r', args)
return utils.Popen(args, **kw)
......
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