src/config/network.rs: introduce NetworkInterfaceType

This commit is contained in:
Dietmar Maurer committed 2020-04-23 08:45:03 +02:00
1 parent d5ca9bd5df
commit 02269f3dba
4 files changed
+58 -11

No files matched your search

+1
View File
@@ -283,6 +283,7 @@ fn list_network_devices(param: Value, rpcenv: &mut dyn RpcEnvironment) -> Result
}
let options = default_table_format_options()
.column(ColumnConfig::new("interface_type").header("type"))
.column(ColumnConfig::new("name"))
.column(ColumnConfig::new("auto"))
.column(ColumnConfig::new("method_v4"))