mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-17 01:54:49 +00:00
openvpn: flip back to multiple
It looked like the original request was misunderstood and this changed the wrong option. PR: https://forum.opnsense.org/index.php?topic=10950.0
This commit is contained in:
parent
46527303cb
commit
1c8731dd78
@ -257,10 +257,10 @@ if ($_SERVER['REQUEST_METHOD'] === 'GET') {
|
||||
if ($result = openvpn_validate_cidr($pconfig['tunnel_networkv6'], gettext('IPv6 Tunnel Network'), false, 'ipv6')) {
|
||||
$input_errors[] = $result;
|
||||
}
|
||||
if ($result = openvpn_validate_cidr($pconfig['remote_network'], gettext('IPv4 Remote Network'), false, 'ipv4')) {
|
||||
if ($result = openvpn_validate_cidr($pconfig['remote_network'], gettext('IPv4 Remote Network'), true, 'ipv4')) {
|
||||
$input_errors[] = $result;
|
||||
}
|
||||
if ($result = openvpn_validate_cidr($pconfig['remote_networkv6'], gettext('IPv6 Remote Network'), false, 'ipv6')) {
|
||||
if ($result = openvpn_validate_cidr($pconfig['remote_networkv6'], gettext('IPv6 Remote Network'), true, 'ipv6')) {
|
||||
$input_errors[] = $result;
|
||||
}
|
||||
if (!empty($pconfig['use_shaper']) && (!is_numeric($pconfig['use_shaper']) || ($pconfig['use_shaper'] <= 0))) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user