config: add NMConfigDevice

Add NMConfigDevice, which is mostly just a wrapper around
nm_device_get_hw_address() and nm_device_spec_match_list(), and
implement it in NMDevice. This will be used for config options that
match devices. (We can't use NMDevice directly for dependency
reasons.)
This commit is contained in:
Dan Winship
2013-03-20 09:48:24 -04:00
parent 29ed892de7
commit 0b815ca166
6 changed files with 154 additions and 6 deletions

View File

@@ -363,7 +363,7 @@ nm_utils_merge_ip6_config (NMIP6Config *ip6_config, NMSettingIP6Config *setting)
nm_ip6_config_set_never_default (ip6_config, TRUE);
}
static gboolean
gboolean
nm_match_spec_string (const GSList *specs, const char *match)
{
const GSList *iter;