diff options
author | jim-p <jimp@pfsense.org> | 2011-04-08 08:27:37 -0400 |
---|---|---|
committer | jim-p <jimp@pfsense.org> | 2011-04-08 08:28:31 -0400 |
commit | 02d99511539a3312f8aab54b7dd1cdcaec9c0847 (patch) | |
tree | 6629e13ac1ae5d7204b358812c56e37ebf9f4fa2 | |
parent | b510be5cc1539dbdd6fc3d5bfe8afded5e346cbc (diff) | |
download | pfsense-02d99511539a3312f8aab54b7dd1cdcaec9c0847.zip pfsense-02d99511539a3312f8aab54b7dd1cdcaec9c0847.tar.gz |
Putting client-config-dir in the config is valid also for p2p_tls servers. Fixes #1417.
-rw-r--r-- | etc/inc/openvpn.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/inc/openvpn.inc b/etc/inc/openvpn.inc index df531c7..56f6cf5 100644 --- a/etc/inc/openvpn.inc +++ b/etc/inc/openvpn.inc @@ -382,13 +382,13 @@ function openvpn_reconfigure($mode, $settings) { // configure p2p/server modes switch($settings['mode']) { - case 'p2p_tls': case 'p2p_shared_key': $baselong = ip2long32($ip) & ip2long($mask); $ip1 = long2ip32($baselong + 1); $ip2 = long2ip32($baselong + 2); $conf .= "ifconfig $ip1 $ip2\n"; break; + case 'p2p_tls': case 'server_tls': case 'server_user': case 'server_tls_user': |