summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrancesco Giudici <fgiudici@redhat.com>2018-01-19 11:52:57 +0100
committerFrancesco Giudici <fgiudici@redhat.com>2018-01-19 12:46:44 +0100
commit7cae62781072fcb22956d78ce0afb63bb572747f (patch)
tree6d335275c808b4ee86779a03b8299f66edbb3e70
parent156344b8beec88b68f335fe13c5db91d62fcb3fc (diff)
downloadNetworkManager-fg/team_empty_values-rh1533830.tar.gz
libnm-core: ensure alignment of team.config and other team propertiesfg/team_empty_values-rh1533830
https://bugzilla.redhat.com/show_bug.cgi?id=1533830
-rw-r--r--libnm-core/nm-setting-team.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/libnm-core/nm-setting-team.c b/libnm-core/nm-setting-team.c
index a13fa45158..b49627c575 100644
--- a/libnm-core/nm-setting-team.c
+++ b/libnm-core/nm-setting-team.c
@@ -1485,8 +1485,10 @@ set_property (GObject *object, guint prop_id,
break;
}
- if (align_config)
+ if (align_config) {
_nm_utils_json_append_gvalue (&priv->config, _prop_to_keys[prop_id], align_value);
+ _align_team_properties (setting);
+ }
}
static void