chiark
/
gitweb
/
~mdw
/
zone
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
addr-family-ipv6.lisp (ipaddr-string): Ignore trivial runs of zeros.
[zone]
/
addr-family-ipv6.lisp
diff --git
a/addr-family-ipv6.lisp
b/addr-family-ipv6.lisp
index e9dd1aa5e0d263095bd8eb79201d9b1b5d8c686c..5ed014e22ac8f953366bb12a2bc212cfb073d6fd 100644
(file)
--- a/
addr-family-ipv6.lisp
+++ b/
addr-family-ipv6.lisp
@@
-168,7
+168,7
@@
(defmethod ipaddr-string ((ip ip6addr))
(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)