summaryrefslogtreecommitdiff
path: root/src/settings/plugins/ifcfg-rh/reader.c
diff options
context:
space:
mode:
authorDan Winship <danw@gnome.org>2014-01-28 09:25:59 -0500
committerDan Winship <danw@gnome.org>2014-01-30 11:16:44 -0500
commit7b85fb6f783847940bf1f9edd6923ff9d6c34ae6 (patch)
tree9d7e21a7a0635b116bcc92a867586c66197dc36f /src/settings/plugins/ifcfg-rh/reader.c
parent3bb54e20849469eccca565b3e69a544541adcbaf (diff)
downloadNetworkManager-7b85fb6f783847940bf1f9edd6923ff9d6c34ae6.tar.gz
ifcfg-rh: write SLAVE=yes on bond slave connections
For compatibility with the old network scripts.
Diffstat (limited to 'src/settings/plugins/ifcfg-rh/reader.c')
-rw-r--r--src/settings/plugins/ifcfg-rh/reader.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/settings/plugins/ifcfg-rh/reader.c b/src/settings/plugins/ifcfg-rh/reader.c
index 57cfc1b39f..41055a2d2e 100644
--- a/src/settings/plugins/ifcfg-rh/reader.c
+++ b/src/settings/plugins/ifcfg-rh/reader.c
@@ -1755,6 +1755,10 @@ check_if_bond_slave (shvarFile *ifcfg,
NULL);
g_free (value);
}
+
+ /* We should be checking for SLAVE=yes as well, but NM used to not set that,
+ * so for backward-compatibility, we don't check.
+ */
}
static void