diff --git a/lib/tun2/server.go b/lib/tun2/server.go index 0e04143..7893735 100644 --- a/lib/tun2/server.go +++ b/lib/tun2/server.go @@ -182,7 +182,7 @@ func (s *Server) ListenAndServe() error { c.cancel() } - _, err = stream.Read(make([]byte, 3000)) + _, err = stream.Read(make([]byte, 30)) if err != nil { ln.Error(err) c.cancel()