mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-03-27 08:10:40 +01:00
ifcfg-rh: fix parsing of REORDER_HDR
It's a boolean value not a string. Second, apparently the kernel turns it on by default these days, so if it's missing then assume it's supposed to be TRUE.
This commit is contained in:
parent
ca689a0287
commit
b2d9fa2ecd
1 changed files with 1 additions and 3 deletions
|
|
@ -3799,10 +3799,8 @@ make_vlan_setting (shvarFile *ifcfg,
|
|||
goto error;
|
||||
}
|
||||
|
||||
value = svGetValue (ifcfg, "REORDER_HDR", FALSE);
|
||||
if (value)
|
||||
if (svTrueValue (ifcfg, "REORDER_HDR", FALSE))
|
||||
vlan_flags |= NM_VLAN_FLAG_REORDER_HEADERS;
|
||||
g_free (value);
|
||||
|
||||
value = svGetValue (ifcfg, "VLAN_FLAGS", FALSE);
|
||||
if (g_strstr_len (value, -1, "GVRP"))
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue