host = get_string(config_provider, "Host");
domain = get_string(config_provider, "Domain");
#if !defined TIZEN_EXT
- if (host && domain) {
+ if (host) {
char *id = __vpn_provider_create_identifier(host, domain);
#else
name = get_string(config_provider, "Name");
- if (host && domain && name) {
+ if (host && name) {
char *id = __vpn_provider_create_identifier(host, domain, name);
#endif