网卡自动启动

This commit is contained in:
snltty
2024-08-04 20:32:16 +08:00
parent 626670b474
commit 16e0ff7d14
9 changed files with 60 additions and 74 deletions

View File

@@ -24,7 +24,7 @@ namespace linker.tun
this.name = name;
}
public bool SetUp(IPAddress address, IPAddress gateway, byte prefixLength, out string error)
public bool Setup(IPAddress address, IPAddress gateway, byte prefixLength, out string error)
{
error = string.Empty;
this.address = address;