chiark
/
gitweb
/
~mdw
/
zones
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
43fc56b
)
distorted.lisp: Use `do-host' now that it's exported.
author
Mark Wooding
<mdw@distorted.org.uk>
Sat, 13 Jul 2013 15:34:40 +0000
(16:34 +0100)
committer
Mark Wooding
<mdw@distorted.org.uk>
Sat, 19 Apr 2014 14:56:27 +0000
(15:56 +0100)
distorted.lisp
patch
|
blob
|
blame
|
history
diff --git
a/distorted.lisp
b/distorted.lisp
index c83fb174a8b0f9a6cb39d177ccd2b55fe0c77d96..1702e1c562727ce5fa72de5fcb8f111e78a2136e 100644
(file)
--- a/
distorted.lisp
+++ b/
distorted.lisp
@@
-16,7
+16,7
@@
(defzoneparse :anycast (name data rec :prefix prefix :zname zname)
;; IPv6 anycast addresses are globally routable, while IPv4 ones aren't.
(if (zone-preferred-subnet-p (car any-provider))
(zone-set-address #'rec (cdr any-provider) :make-ptr-p t)
;; IPv6 anycast addresses are globally routable, while IPv4 ones aren't.
(if (zone-preferred-subnet-p (car any-provider))
(zone-set-address #'rec (cdr any-provider) :make-ptr-p t)
- (do
list (addr (host-addrs (host-parse (cdr any-provider))
))
+ (do
-host (addr (cdr any-provider
))
(let ((family (ipaddr-family addr)))
(if (member family *anycast-routable-families*)
(zone-set-address #'rec addr
(let ((family (ipaddr-family addr)))
(if (member family *anycast-routable-families*)
(zone-set-address #'rec addr