From 4512122149fe2a57417895017efc44b2f182782a Mon Sep 17 00:00:00 2001 From: e1732a364fed <75717694+e1732a364fed@users.noreply.github.com> Date: Sat, 1 Jan 2000 00:00:00 +0000 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=AD=A3=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- proxy/tun/route_linux.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/proxy/tun/route_linux.go b/proxy/tun/route_linux.go index 55e7087..2ab5d99 100644 --- a/proxy/tun/route_linux.go +++ b/proxy/tun/route_linux.go @@ -35,7 +35,7 @@ func init() { return false } - e = utils.ExecCmd("ip link set dev " + tunDevName + "up") + e = utils.ExecCmd("ip link set dev " + tunDevName + " up") if e != nil { return false } @@ -73,7 +73,7 @@ func init() { promptManual(strs) } else { if e := utils.ExecCmdList(strs); e != nil { - if ce := utils.CanLogErr("recover auto route failed"); ce != nil { + if ce := utils.CanLogErr("run auto route failed"); ce != nil { ce.Write(zap.Error(e)) } }