mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-01-10 21:00:23 +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
This commit is contained in:
parent
e8257af0d9
commit
ee3c6d57a4
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