add new dbus method for preferred Ipv6 address
[platform/core/connectivity/net-config.git] / src / neterror.c
index 24167a0..62998ab 100755 (executable)
@@ -157,6 +157,13 @@ void netconfig_error_fail_ethernet_cable_state(GDBusMethodInvocation *context)
                        NETCONFIG_ERROR_INTERFACE".FailGetEthernetCableState");
 }
 
+void netconfig_error_fail_preferred_ipv6_address(GDBusMethodInvocation *context)
+{
+       g_dbus_method_invocation_return_error(context, netconfig_error_quark(),
+                       NETCONFIG_ERROR_INTERNAL,
+                       NETCONFIG_ERROR_INTERFACE".FailGetPreferredIpv6Address");
+}
+
 #include <glib/gprintf.h>
 void netconfig_error_dbus_method_return(GDBusMethodInvocation *context, netconfig_error_e error, const gchar *message)
 {