Annotations to let it use IPv4/IPv6 types.
This commit is contained in:
parent
af9fa2cea8
commit
7215888fcb
|
@ -456,10 +456,10 @@
|
|||
strs)))
|
||||
((a) (bit-string-case rdata
|
||||
([ a b c d ]
|
||||
(vector a b c d))))
|
||||
(ann (vector a b c d) IPv4))))
|
||||
((aaaa) (bit-string-case rdata
|
||||
([ (ipv6-addr :: binary bits 128) ]
|
||||
(list->vector (bytes->list (bit-string->bytes ipv6-addr))))))
|
||||
([ a b c d e f g h i j k l m n o p ]
|
||||
(ann (vector a b c d e f g h i j k l m n o p) IPv6))))
|
||||
((wks) (bit-string-case rdata
|
||||
([ a b c d protocol (bitmap :: binary) ]
|
||||
(wks (vector a b c d) protocol (bit-string->bytes bitmap)))))
|
||||
|
|
Loading…
Reference in New Issue