mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-13 08:09:41 +00:00
openvpn: style issue
This commit is contained in:
parent
534c918a4e
commit
8283fd3969
@ -79,7 +79,7 @@ class PlainOpenVPN extends BaseExporter implements IExportProvider
|
||||
}
|
||||
$conf[] = "persist-tun";
|
||||
$conf[] = "persist-key";
|
||||
if (strncasecmp($this->config['protocol'], "tcp",3)) {
|
||||
if (strncasecmp($this->config['protocol'], "tcp", 3)) {
|
||||
$conf[] = "{$this->config['protocol']}-client";
|
||||
} else {
|
||||
$conf[] = $this->config['protocol'];
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user