mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-01-03 10:30:22 +01:00
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 commitee3c6d57a4)
This commit is contained in:
parent
6289caf68f
commit
cf1896987d
1 changed files with 2 additions and 2 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue