mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-15 17:14:46 +00:00
openpn: break in default case
This commit is contained in:
parent
4c9aa8492b
commit
89dbf25c35
@ -925,6 +925,7 @@ function openvpn_reconfigure($mode, $settings, $device_only = false)
|
||||
break;
|
||||
default:
|
||||
$conf .= "compress {$settings['compression']}\n";
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@ -152,6 +152,7 @@ class PlainOpenVPN extends BaseExporter implements IExportProvider
|
||||
break;
|
||||
default:
|
||||
$conf[] = "compress " . $this->config['compression'];
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user