mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2025-12-27 16:20:09 +01:00
ifcfg-rh: save bridge STP disabled setting (bgo #694841)
STP defaults to yes in NetworkManager (and the initscripts), so a missing STP value in an ifcfg file means yes/on. Calling svSetValue(STP, NULL) clears that line from the ifcfg, and thus STP gets interpreted as yes. Explicitly set stp to "no" so that the value actually gets saved.
This commit is contained in:
parent
fa97543186
commit
20031e1846
1 changed files with 1 additions and 1 deletions
|
|
@ -1328,7 +1328,7 @@ write_bridge_setting (NMConnection *connection, shvarFile *ifcfg, GError **error
|
|||
|
||||
svSetValue (ifcfg, "DEVICE", iface, FALSE);
|
||||
svSetValue (ifcfg, "BRIDGING_OPTS", NULL, FALSE);
|
||||
svSetValue (ifcfg, "STP", NULL, FALSE);
|
||||
svSetValue (ifcfg, "STP", "no", FALSE);
|
||||
svSetValue (ifcfg, "DELAY", NULL, FALSE);
|
||||
|
||||
/* Bridge options */
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue