+ bool enabled = false;
+ if (connection_profile_is_ethernet_eap_enabled(profile, &enabled) != CONNECTION_ERROR_NONE) {
+ printf("Failed to get ethernet eap enabled status!!\n");
+ }
+ printf("EAP over Ethernet is %s\n", enabled ? "enabled" : "not enabled");
+