Skip to content

Commit 79b5e45

Browse files
author
mischa
committed
add cookie log message for debugging
1 parent 8b95a5e commit 79b5e45

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

kcp2k/kcp2k/highlevel/KcpPeer.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,7 @@ protected KcpPeer(KcpConfig config, uint cookie)
113113
// set the cookie after resetting state so it's not overwritten again.
114114
// with log message for debugging in case of cookie issues.
115115
this.cookie = cookie;
116+
Log.Info($"{GetType()}: created with cookie={cookie}");
116117

117118
// create mtu sized send buffer
118119
rawSendBuffer = new byte[config.Mtu];

0 commit comments

Comments
 (0)