mirror of
https://github.com/cbeuw/Cloak.git
synced 2024-11-11 13:11:03 +00:00
Fix logging of transport
This commit is contained in:
parent
766c27a129
commit
d05809f2a6
@ -95,7 +95,7 @@ func PrepareConnection(firstPacket []byte, sta *State, conn net.Conn) (info Clie
|
||||
info, err = touchStone(ai, sta.Now)
|
||||
if err != nil {
|
||||
log.Debug(err)
|
||||
err = fmt.Errorf("transport %v in correct format but not Cloak: %v", info.Transport, err)
|
||||
err = fmt.Errorf("transport %v in correct format but not Cloak: %v", transport, err)
|
||||
return
|
||||
}
|
||||
if _, ok := sta.ProxyBook[info.ProxyMethod]; !ok {
|
||||
|
Loading…
Reference in New Issue
Block a user