Commit 12d3a790 authored by Dan Winship's avatar Dan Winship
Browse files

keyfile: ignore ipv4.address-labels

For now they are only supported by ifcfg-rh
parent 73e011d0
......@@ -194,6 +194,17 @@ ip4_addr_writer (GKeyFile *file,
write_ip4_values (file, setting_name, array, FALSE);
}
static void
ip4_addr_label_writer (GKeyFile *file,
const char *keyfile_dir,
const char *uuid,
NMSetting *setting,
const char *key,
const GValue *value)
{
/* skip */
}
static void
ip4_route_writer (GKeyFile *file,
const char *keyfile_dir,
......@@ -773,6 +784,9 @@ static KeyWriter key_writers[] = {
{ NM_SETTING_IP4_CONFIG_SETTING_NAME,
NM_SETTING_IP4_CONFIG_ADDRESSES,
ip4_addr_writer },
{ NM_SETTING_IP4_CONFIG_SETTING_NAME,
"address-labels",
ip4_addr_label_writer },
{ NM_SETTING_IP6_CONFIG_SETTING_NAME,
NM_SETTING_IP6_CONFIG_ADDRESSES,
ip6_addr_writer },
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment