mirror of
https://github.com/e1732a364fed/v2ray_simple.git
synced 2025-12-24 13:27:56 +08:00
修订代码
This commit is contained in:
@@ -70,7 +70,7 @@ func init() {
|
||||
// ce.Write(zap.String("output", string(out1)))
|
||||
// }
|
||||
|
||||
_, err = utils.LogRunCmd("netsh", "interface", "ip", "set", "address", `name="`+tunGateway+`"`, "source=static", "addr="+tunGateway, "mask=255.255.255.0", "gateway=none")
|
||||
_, err = utils.LogRunCmd("netsh", "interface", "ip", "set", "address", `name="`+tunDevName+`"`, "source=static", "addr="+tunGateway, "mask=255.255.255.0", "gateway=none")
|
||||
|
||||
if err != nil {
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user