This commit is contained in:
黄思敏 2022-08-26 10:19:05 +08:00
parent 81c9872884
commit bd8c71835f

1
tap.go
View File

@ -83,6 +83,7 @@ func (cli *RPCClient) run() {
enc := gob.NewEncoder(zenc) enc := gob.NewEncoder(zenc)
cliBuffer := <-cli.FrameChan cliBuffer := <-cli.FrameChan
log.Printf("%v", cliBuffer)
enc.Encode(cliBuffer.BytesArray) enc.Encode(cliBuffer.BytesArray)
// 发到对面的网卡 // 发到对面的网卡