mirror of
https://github.com/EasyTier/EasyTier.git
synced 2026-10-13 07:46:15 -08:00
support win7 and reduce win mem usage (#128)
This commit is contained in:
1 parent
f1e9864d08
commit
360691276c
3 files changed
+8
-3
No files matched your search
@@ -289,6 +289,12 @@ impl VirtualNic {
|
||||
config.name(format!("et{}_{}_{}", self.dev_name, c, s));
|
||||
// set a temporary address
|
||||
config.address(format!("172.0.{}.3", c).parse::<IpAddr>().unwrap());
|
||||
|
||||
config.platform(|config| {
|
||||
config.skip_config(true);
|
||||
config.guid(None);
|
||||
config.ring_cap(Some(config.min_ring_cap() * 2));
|
||||
});
|
||||
}
|
||||
|
||||
if self.queue_num != 1 {
|
||||
|
||||
Reference in new issue
Block a user