Chore: fix typos (#295)

This commit is contained in:
Loyalsoldier
2021-04-02 08:36:48 +08:00
committed by GitHub
parent 8381ee2e3c
commit 059be8a014
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -14,7 +14,7 @@ type ColorBuffer struct {
buffer.Buffer
}
// color pallete map
// color palette map
var (
colorOff = []byte("\033[0m")
colorRed = []byte("\033[0;31m")
+1 -1
View File
@@ -37,7 +37,7 @@ type ConnListener interface {
}
// PacketListener accept UDP packet stream
// We don't have any tunnel based on packet streams, so AcceptPacket will always recieve a real PacketConn
// We don't have any tunnel based on packet streams, so AcceptPacket will always receive a real PacketConn
type PacketListener interface {
AcceptPacket(Tunnel) (PacketConn, error)
}