mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-15 17:14:46 +00:00
OpenVPN ipv6-push, another try for https://github.com/opnsense/core/issues/3907
This commit is contained in:
parent
f670ba6e2d
commit
ff290c95ec
@ -1071,7 +1071,7 @@ function openvpn_csc_conf_write($settings, $server, $target_filename = null)
|
||||
if ($server['dev_mode'] == 'tun' && empty($server['topology_subnet'])) {
|
||||
$conf .= "ifconfig-ipv6-push {$ipv6_2} {$ipv6_1}\n";
|
||||
} else {
|
||||
$conf .= "ifconfig-ipv6-push {$ipv6}/{$prefix}\n";
|
||||
$conf .= "ifconfig-ipv6-push {$settings['tunnel_networkv6']} {$ipv6_1}\n";
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user