From a5c8126ced87ec8bc79b82f820a836c9ca663409 Mon Sep 17 00:00:00 2001 From: Jameel Al-Aziz Date: Wed, 18 Oct 2017 19:34:42 -0700 Subject: [PATCH] Add tcptype to Candidate toString method --- src/main/java/org/ice4j/ice/Candidate.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/main/java/org/ice4j/ice/Candidate.java b/src/main/java/org/ice4j/ice/Candidate.java index 3a8f373b..64ad60fa 100644 --- a/src/main/java/org/ice4j/ice/Candidate.java +++ b/src/main/java/org/ice4j/ice/Candidate.java @@ -776,6 +776,10 @@ public String toString() buff.append(" rport ").append(relAddr.getPort()); } + if(getTcpType() != null) { + buff.append(" tcptype ").append(getTcpType()); + } + return buff.toString(); }