We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7611df5 commit ef85311Copy full SHA for ef85311
src/common/codeine/jsons/peer_status/PeerStatusJsonV2.java
@@ -97,7 +97,7 @@ public String ip_port() {
97
}
98
99
public String address_port() {
100
- if (!StringUtils.isEmpty(user_dns_domain)) {
+ if (!StringUtils.isEmpty(user_dns_domain) && !canonical_host.contains(user_dns_domain)) {
101
return canonical_host + "." + user_dns_domain + ":" + port;
102
103
return canonical_host_port();
0 commit comments