mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-16 01:24:38 +00:00
openvpn: looks like a bug introduced in aff94b55a366f70df
This commit is contained in:
parent
a536687879
commit
a66986c90a
@ -1193,8 +1193,8 @@ function openvpn_configure_do($verbose = false, $interface = '')
|
||||
}
|
||||
|
||||
if (!empty($interface)) {
|
||||
$interface_real = get_real_interface($interface);
|
||||
if (substr($interface_real, 0, 4) == 'ovpn') {
|
||||
$realif = get_real_interface($interface);
|
||||
if (substr($realif, 0, 4) != 'ovpn') {
|
||||
return;
|
||||
}
|
||||
log_error(sprintf(
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user