summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJiří Klimeš <jklimes@redhat.com>2015-08-29 12:00:15 +0200
committerJiří Klimeš <jklimes@redhat.com>2015-10-07 13:45:30 +0200
commitee3c6d57a45ed855186ce4e208af4d855c495e9e (patch)
tree1ef2f3a843831ab24f3cf95f02cdc1d3678f0f6d
parente8257af0d9324c2b9b59fa37c7283931c10defe1 (diff)
downloadNetworkManager-ee3c6d57a45ed855186ce4e208af4d855c495e9e.tar.gz
ifcfg-rh: write REORDER_HDR as more common "yes", "no"
initscripts just search for negative values "no" or "0" (/etc/sysconfig/network-scripts/ifup) Related: ccea4425048cce8aef5a295c7d09daa6b66f596f
-rw-r--r--src/settings/plugins/ifcfg-rh/writer.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/settings/plugins/ifcfg-rh/writer.c b/src/settings/plugins/ifcfg-rh/writer.c
index 2c3f1bb203..e6e68bce5f 100644
--- a/src/settings/plugins/ifcfg-rh/writer.c
+++ b/src/settings/plugins/ifcfg-rh/writer.c
@@ -1258,9 +1258,9 @@ write_vlan_setting (NMConnection *connection, shvarFile *ifcfg, gboolean *wired,
vlan_flags = nm_setting_vlan_get_flags (s_vlan);
if (vlan_flags & NM_VLAN_FLAG_REORDER_HEADERS)
- svSetValue (ifcfg, "REORDER_HDR", "1", FALSE);
+ svSetValue (ifcfg, "REORDER_HDR", "yes", FALSE);
else
- svSetValue (ifcfg, "REORDER_HDR", "0", FALSE);
+ svSetValue (ifcfg, "REORDER_HDR", "no", FALSE);
svSetValue (ifcfg, "VLAN_FLAGS", NULL, FALSE);
if (vlan_flags & NM_VLAN_FLAG_GVRP) {