Set fallback value to 0 for openvpn_clientvalue

This commit is contained in:
Ely Deckers 2022-02-20 23:00:14 +01:00
parent 0aee6006e8
commit ce829110c7
1 changed files with 1 additions and 1 deletions

View File

@ -709,7 +709,7 @@ class Commands
return self::get_openvpn_server_uservalue_($unique_id, $value_key, "0");
}
public static function openvpn_clientvalue($client_id, $value_key, $fallback_value = "none")
public static function openvpn_clientvalue($client_id, $value_key, $fallback_value = 0)
{
$maybe_client = Util::array_first(
PfEnv::openvpn_get_active_clients(),