Skip to content

Commit

Permalink
Add DTLS role to debug state. (#1968)
Browse files Browse the repository at this point in the history
  • Loading branch information
bgrozev authored Nov 4, 2022
1 parent a383706 commit 98c9f86
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -182,6 +182,7 @@ class DtlsTransport(parentLogger: Logger) {

fun getDebugState(): OrderedJsonObject = stats.toJson().apply {
put("running", running.get())
put("role", dtlsStack.role.toString())
put("is_connected", isConnected)
}

Expand Down

0 comments on commit 98c9f86

Please sign in to comment.