Skip to content

Commit

Permalink
OpenVPN export, some clients seem to have issues with uppercase proto…
Browse files Browse the repository at this point in the history
  • Loading branch information
AdSchellevis committed Feb 1, 2019
1 parent defd8da commit e9d1aa4
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ protected function openvpnConfParts()
$conf[] = "reneg-sec {$this->config['reneg-sec']}";
}
foreach (explode(",", $this->config['hostname']) as $hostname) {
$conf[] = "remote {$hostname} {$this->config['local_port']} {$this->config['protocol']}";
$conf[] = "remote {$hostname} {$this->config['local_port']} " . strtolower($this->config['protocol']);
}
if (!empty($this->config['random_local_port'])) {
$conf[] = "lport 0";
Expand Down

0 comments on commit e9d1aa4

Please sign in to comment.