zone.lisp: Stringify the zone name at construction time.
authorMark Wooding <mdw@distorted.org.uk>
Fri, 25 Apr 2014 23:10:46 +0000 (00:10 +0100)
committerMark Wooding <mdw@distorted.org.uk>
Fri, 25 Apr 2014 23:10:46 +0000 (00:10 +0100)
It causes trouble later if we don't.

zone.lisp

index 1324f70..6b84dac 100644 (file)
--- a/zone.lisp
+++ b/zone.lisp
        (ttl min-ttl)
        (serial (make-zone-serial zname)))
       (listify head)
-    (values zname
+    (values (string-downcase zname)
            (timespec-seconds ttl)
            (make-soa :admin admin
                      :source (zone-parse-host source zname)