chiark / gitweb /
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 1324f701e1b562040ff21c80cf8e45de891054b4..6b84dac957619fea85e63928434e7b0049029bd1 100644 (file)
--- a/zone.lisp
+++ b/zone.lisp
@@ -439,7 +439,7 @@ (defun zone-parse-head (head)
        (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)