summaryrefslogtreecommitdiff
path: root/src/manager.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/manager.c')
-rwxr-xr-xsrc/manager.c9
1 files changed, 3 insertions, 6 deletions
diff --git a/src/manager.c b/src/manager.c
index 5f7f99ad..9fea4e0e 100755
--- a/src/manager.c
+++ b/src/manager.c
@@ -289,9 +289,7 @@ static DBusMessage *get_dhcp_status(DBusConnection *conn, DBusMessage *msg, void
return reply;
}
-#endif
-#if defined TIZEN_EXT_INS
static void append_ins_structs(DBusMessageIter *iter, void *user_data)
{
__connman_ins_list_struct(iter);
@@ -306,8 +304,9 @@ static DBusMessage *get_ins(DBusConnection *conn,
if (!reply)
return NULL;
- __connman_dbus_append_objpath_dict_array(reply,
- append_ins_structs, NULL);
+ if (TIZEN_INS_ENABLED)
+ __connman_dbus_append_objpath_dict_array(reply,
+ append_ins_structs, NULL);
return reply;
}
@@ -778,8 +777,6 @@ static const GDBusMethodTable manager_methods[] = {
GDBUS_ARGS({ "ifname", "s" }),
GDBUS_ARGS({ "status", "s" }),
get_dhcp_status) },
-#endif
-#if defined TIZEN_EXT_INS
{ GDBUS_METHOD("GetINS",
NULL, GDBUS_ARGS({ "services", "a(oa{sv})" }),
get_ins) },