summaryrefslogtreecommitdiffstats
path: root/etc/inc
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2005-10-06 19:09:09 +0000
committerScott Ullrich <sullrich@pfsense.org>2005-10-06 19:09:09 +0000
commita068feb20d9165d317f55c601c8b6fafd405bf06 (patch)
treed8b0f6e42b62d19415a559ab64252e59928fd019 /etc/inc
parentaeb260428f54d707d98fa99c26b7e2f5056163aa (diff)
downloadpfsense-a068feb20d9165d317f55c601c8b6fafd405bf06.zip
pfsense-a068feb20d9165d317f55c601c8b6fafd405bf06.tar.gz
* Correctly pass --proto tcp for tcp option
* Uncomment this code
Diffstat (limited to 'etc/inc')
-rw-r--r--etc/inc/openvpn.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/inc/openvpn.inc b/etc/inc/openvpn.inc
index b39bd03..0953779 100644
--- a/etc/inc/openvpn.inc
+++ b/etc/inc/openvpn.inc
@@ -249,9 +249,9 @@ function ovpn_srv_config_generate($id) {
/* port */
$ovpn_config .= "--port {$server['port']} ";
- /* Set protocol being used (p = udp (default), tcp-server)
+ /* Set protocol being used (p = udp (default), tcp-server) */
if ($server['proto'] == 'tcp') {
- $ovpn_config .= "--proto tcp-server ";
+ $ovpn_config .= "--proto tcp ";
}
/* Interface binding - 1 or all */
OpenPOWER on IntegriCloud