zone.lisp: Escape DEL in TinyDNS output.
[zone] / zone.lisp
index 53800f0..3aa25ba 100644 (file)
--- a/zone.lisp
+++ b/zone.lisp
@@ -1322,7 +1322,7 @@ $TTL ~2@*~D~2%"
                    (dotimes (i (length data))
                      (let ((byte (aref data i)))
                        (if (or (<= byte 32)
-                               (>= byte 128)
+                               (>= byte 127)
                                (member byte '(#\: #\\) :key #'char-code))
                            (format out "\\~3,'0O" byte)
                            (write-char (code-char byte) out)))))