chiark
/
gitweb
/
~mdw
/
zone
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bd54e50
)
zone.lisp: Escape DEL in TinyDNS output.
author
Mark Wooding
<mdw@distorted.org.uk>
Mon, 22 Dec 2014 22:20:37 +0000
(22:20 +0000)
committer
Mark Wooding
<mdw@distorted.org.uk>
Mon, 22 Dec 2014 22:22:41 +0000
(22:22 +0000)
zone.lisp
patch
|
blob
|
blame
|
history
diff --git
a/zone.lisp
b/zone.lisp
index 53800f06bc3a29cc746d54cc36df6471431b8909..3aa25ba0794e3b9337fc3594a4bfd42aab11c114 100644
(file)
--- a/
zone.lisp
+++ b/
zone.lisp
@@
-1322,7
+1322,7
@@
(defmethod zone-write-raw-rrdata ((format (eql :tinydns)) zr type data)
(dotimes (i (length data))
(let ((byte (aref data i)))
(if (or (<= byte 32)
- (>= byte 12
8
)
+ (>= byte 12
7
)
(member byte '(#\: #\\) :key #'char-code))
(format out "\\~3,'0O" byte)
(write-char (code-char byte) out)))))