Skip to content

Commit 408fcee

Browse files
committed
Add generic dns type
1 parent 889ca08 commit 408fcee

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ enum Type {
1616
TCP(6, 16, "tcp"),
1717
DCCP(33, 16, "dccp"),
1818
IP6(41, 128, "ip6"),
19+
DNS(53, LENGTH_PREFIXED_VAR_SIZE, "dns"),
1920
DNS4(54, LENGTH_PREFIXED_VAR_SIZE, "dns4"),
2021
DNS6(55, LENGTH_PREFIXED_VAR_SIZE, "dns6"),
2122
DNSADDR(56, LENGTH_PREFIXED_VAR_SIZE, "dnsaddr"),

0 commit comments

Comments
 (0)