src/api2/config/network.rs: allow to update 'auto' flag
This commit is contained in:
1 parent
3fce3bc36e
commit
f1026a5aa9
4 files changed
+14
-5
No files matched your search
@@ -282,7 +282,7 @@ impl <R: BufRead> NetworkParser<R> {
|
||||
|
||||
for iface in auto_flag.iter() {
|
||||
if let Some(interface) = config.interfaces.get_mut(iface) {
|
||||
interface.autostart = true;
|
||||
interface.auto = true;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user