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: ccea442504
(cherry picked from commit ee3c6d57a4)
This commit is contained in:
Jiří Klimeš 2015-08-29 12:00:15 +02:00
parent 6289caf68f
commit cf1896987d

View file

@ -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) {