mirror of
https://github.com/e1732a364fed/v2ray_simple.git
synced 2025-12-24 13:27:56 +08:00
修订代码
This commit is contained in:
@@ -20,8 +20,7 @@ func init() {
|
||||
*/
|
||||
autoRouteFunc = func(tunDevName, tunGateway, tunIP string, directList []string) {
|
||||
|
||||
params := "netstat -nr"
|
||||
out, err := exec.Command("", params).Output()
|
||||
out, err := exec.Command("netstat", "-nr").Output()
|
||||
if err != nil {
|
||||
if ce := utils.CanLogErr("auto route failed"); ce != nil {
|
||||
ce.Write(zap.Error(err))
|
||||
|
||||
Reference in New Issue
Block a user