From 19b128841e231f29495901f00a627b64f9c2ce8f Mon Sep 17 00:00:00 2001 From: java110 <928255095@qq.com> Date: Thu, 4 Dec 2025 14:33:40 +0000 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96ubuntu=20=E8=99=9A=E6=8B=9F?= =?UTF-8?q?=E7=BD=91=E5=8D=A1=E6=B2=A1=E6=B3=95=E5=88=9B=E5=BB=BAbug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: java110 <928255095@qq.com> --- common/innerNet/client/tcp.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/innerNet/client/tcp.go b/common/innerNet/client/tcp.go index 0adc718..ef3d399 100644 --- a/common/innerNet/client/tcp.go +++ b/common/innerNet/client/tcp.go @@ -146,7 +146,7 @@ func (tc *TcpClient) readFromServer() error { cmd = exec.Command("bash", "-c", shellCmd) cmd.CombinedOutput() } else { - shellCmd := "ifconfig " + tc.TunConn.Name() + " " + ipData + " 255.255.255.0 up" + shellCmd := "ifconfig " + tc.TunConn.Name() + " " + ipData + " netmask 255.255.255.0 up" cmd = exec.Command("bash", "-c", shellCmd) fmt.Println(shellCmd) cmd.CombinedOutput() -- Gitee