Revision 4742e635
Added by Chris Buechler over 9 years ago
src/etc/inc/openvpn.inc | ||
---|---|---|
1064 | 1064 |
} |
1065 | 1065 |
|
1066 | 1066 |
// If the server is not a TLS server or it has a tunnel network CIDR less than a /30, skip this. |
1067 |
if (in_array($settings['mode'], $openvpn_tls_server_modes) && (!empty($ip) && !empty($mask) && ($cidr < 30))) { |
|
1067 |
if (in_array($settings['mode'], $openvpn_tls_server_modes) && (!empty($ip) && !empty($mask) && ($cidr < 30)) && $settings['dev_mode'] != "tap") {
|
|
1068 | 1068 |
if (empty($settings['topology'])) { |
1069 | 1069 |
$settings['topology'] = "subnet"; |
1070 | 1070 |
} |
Also available in: Unified diff
Omit topology for tap OpenVPN, as it has no meaning in that context