summaryrefslogtreecommitdiff
path: root/src/nm-device-interface.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/nm-device-interface.c')
-rw-r--r--src/nm-device-interface.c15
1 files changed, 12 insertions, 3 deletions
diff --git a/src/nm-device-interface.c b/src/nm-device-interface.c
index 6d45ca9052..0a2ccf120e 100644
--- a/src/nm-device-interface.c
+++ b/src/nm-device-interface.c
@@ -70,8 +70,8 @@ nm_device_interface_init (gpointer g_iface)
g_object_interface_install_property
(g_iface,
g_param_spec_string (NM_DEVICE_INTERFACE_UDI,
- "Udi",
- "HAL Udi",
+ "UDI",
+ "Unique Device Identifier",
NULL,
G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY));
@@ -143,7 +143,7 @@ nm_device_interface_init (gpointer g_iface)
(g_iface, g_param_spec_boolean (NM_DEVICE_INTERFACE_MANAGED,
"Managed",
"Managed",
- TRUE,
+ FALSE,
G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY));
/* Signals */
@@ -270,3 +270,12 @@ nm_device_interface_get_state (NMDeviceInterface *device)
return state;
}
+gboolean
+nm_device_interface_spec_match_list (NMDeviceInterface *device,
+ const GSList *specs)
+{
+ if (NM_DEVICE_INTERFACE_GET_INTERFACE (device)->spec_match_list)
+ return NM_DEVICE_INTERFACE_GET_INTERFACE (device)->spec_match_list (device, specs);
+ return FALSE;
+}
+