From c6f340a5aed3bfcbd3240c61b3f201c1a206f4c9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E9=BB=84=E6=80=9D=E6=95=8F?= <huangsimin@yuandian.com>
Date: Thu, 25 Aug 2022 10:25:20 +0800
Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8Dbug?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 tap.go | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tap.go b/tap.go
index b698270..462640c 100644
--- a/tap.go
+++ b/tap.go
@@ -70,7 +70,7 @@ func (nc *NetCard) Run() {
 	go nc.runWrite()
 	// go nc.cli.run()
 	time.Sleep(time.Second)
-	cmd := strings.Split("addr add 10.10.10.10/24 dev stap", " ")
+	cmd := strings.Split("ip addr add 10.10.10.10/24 dev stap", " ")
 	err := exec.Command(cmd[0], cmd[1:]...).Run()
 	if err != nil {
 		panic(err)