int ret = inm_initialize(&g_hInm);
PRINT_RETURN("inm_initialize", ret);
- if (ret != INM_ERROR_NONE)
+ if (ret != INM_ERROR_NONE) {
+ g_bFeatureAllNotSupported = !g_bFeatureInm;
return;
+ }
ret = inm_get_current_connection(g_hInm, &g_hConnection);
if (ret != INM_ERROR_NONE)
if (g_bFeatureAllNotSupported) {
int ret = inm_connection_get_prefix_length(profile_temp, INM_ADDRESS_FAMILY_IPV4, &length);
CHECK_RETURN("inm_connection_get_prefix_length", ret, INM_ERROR_NOT_SUPPORTED);
+ return 0;
}
int ret = inm_get_current_connection(g_hInm, &profile_temp);
if (g_bFeatureAllNotSupported) {
int ret = inm_connection_get_prefix_length(profile_inval, INM_ADDRESS_FAMILY_IPV4, &length);
CHECK_RETURN("inm_connection_get_prefix_length", ret, INM_ERROR_NOT_SUPPORTED);
+ return 0;
}
inm_get_any_profile(&profile_any);