Skip to content

Commit c80edbe

Browse files
committed
Support DNS bytes to string
1 parent 01a1470 commit c80edbe

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/main/java/io/ipfs/multiaddr/Protocol.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -320,6 +320,7 @@ public String readAddress(InputStream in) throws IOException {
320320
buf = new byte[sizeForAddress];
321321
read(in, buf);
322322
return new String(buf);
323+
case DNS:
323324
case DNS4:
324325
case DNS6:
325326
case DNSADDR:

0 commit comments

Comments
 (0)