#define CONNMAN_SERVICE "org.freedesktop.connman"
+#define CONNMAN_ERROR_INTERFACE CONNMAN_SERVICE ".Error"
+
#define CONNMAN_AGENT_INTERFACE CONNMAN_SERVICE ".Agent"
#define CONNMAN_MANAGER_PATH "/"
DBUS_TYPE_STRING_AS_STRING DBUS_TYPE_VARIANT_AS_STRING
DBUS_DICT_ENTRY_END_CHAR_AS_STRING, &dict);
- str = __connman_ipv4_method2string(iface->ipv4.method);
+ str = __connman_ipv4_method2string(CONNMAN_IPV4_METHOD_DHCP);
append_entry(&dict, "Method", DBUS_TYPE_STRING, &str);
if (iface->ipv4.address.s_addr != INADDR_ANY) {
DBG("conn %p", conn);
+ return dbus_message_new_error(msg, CONNMAN_ERROR_INTERFACE
+ ".NotImplemented", "");
+
dbus_message_iter_init(msg, &array);
dbus_message_iter_recurse(&array, &dict);