Commit 4195b173 authored by Tom Niget's avatar Tom Niget Committed by Tom Niget

vpn: delete removed flag in OpenVPN 2.6

--ncp-disable was deprecated in OpenVPN 2.5 and removed in 2.6. Their rationale is that with the current status of NCP, the option is no longer necessary.
parent 50fae439
......@@ -22,7 +22,7 @@ def openvpn(iface, encrypt, *args, **kw):
if ovpn_log:
args += '--log-append', os.path.join(ovpn_log, '%s.log' % iface),
if not encrypt:
args += '--cipher', 'none', '--ncp-disable'
args += '--cipher', 'none'
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