~mdw
/
zone
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Handle domain names properly, including RFC1035 quoting.
[zone]
/
addr-family-ipv6.lisp
diff --git
a/addr-family-ipv6.lisp
b/addr-family-ipv6.lisp
index
e9dd1aa
..
ae886c2
100644
(file)
--- a/
addr-family-ipv6.lisp
+++ b/
addr-family-ipv6.lisp
@@
-168,7
+168,7
@@
(incf i)
(when (>= i end) (return))
(write-char #\: out))))))
(incf i)
(when (>= i end) (return))
(write-char #\: out))))))
- (cond ((
null best-start
)
+ (cond ((
< best-length 2
)
(chunk 0 8))
((and (= best-start 0)
(or (and (= best-length 5)
(chunk 0 8))
((and (= best-start 0)
(or (and (= best-length 5)
@@
-206,6
+206,7
@@
(defmethod reverse-domain-component-width ((ipaddr ip6addr)) 4)
(defmethod reverse-domain-radix ((ipaddr ip6addr)) 16)
(defmethod reverse-domain-component-width ((ipaddr ip6addr)) 4)
(defmethod reverse-domain-radix ((ipaddr ip6addr)) 16)
-(defmethod reverse-domain-suffix ((ipaddr ip6addr)) "ip6.arpa")
+(defmethod reverse-domain-suffix ((ipaddr ip6addr))
+ (make-domain-name :labels (list "arpa" "ip6") :absolutep t))
;;;----- That's all, folks --------------------------------------------------
;;;----- That's all, folks --------------------------------------------------