add recorder for serial handler

This commit is contained in:
ginuerzh
2023-09-18 09:43:01 +08:00
parent f2ff1aa45a
commit a623232cc1
4 changed files with 77 additions and 10 deletions

View File

@ -19,7 +19,7 @@ func NewConn(port io.ReadWriteCloser, addr net.Addr, cancel context.CancelFunc)
return &conn{
port: port,
laddr: addr,
raddr: addr,
raddr: &Addr{Port: "@"},
cancel: cancel,
}
}