diff --git a/rpc.go b/rpc.go index 0bbe549..5ba8151 100644 --- a/rpc.go +++ b/rpc.go @@ -48,7 +48,7 @@ func (s *RPCServer) SendFrames(stream gen.FrameService_SendFramesServer) error { if err != nil { log.Panic(err) } - log.Printf("request: %v", request) + log.Printf("request: %v", len(request.Frames)) s.netCard.FrameChan <- request.GetFrames() // 接受数据 广播到网卡上 }