Skip to content
Snippets Groups Projects
Commit 834f3f82 authored by Hugo Hörnquist's avatar Hugo Hörnquist
Browse files

Cleanup.

parent 5a1ac78f
No related branches found
No related tags found
No related merge requests found
...@@ -58,7 +58,7 @@ ...@@ -58,7 +58,7 @@
(logand 7 (ash u16 -4)) ; z (logand 7 (ash u16 -4)) ; z
(logand #xF u16))) ; rcode (logand #xF u16))) ; rcode
(define* (dns-header->bytes msg optional: (bv (make-bytevector 12))) (define* (dns-header->bytes msg)
(do (do
(u16! (or (id msg) 0)) (u16! (or (id msg) 0))
(u16! (encode-dns-header-flags msg)) (u16! (encode-dns-header-flags msg))
......
...@@ -20,7 +20,7 @@ ...@@ -20,7 +20,7 @@
(define-record-type dns-question (define-record-type dns-question
(fields (name type: string?) ; string (fields (name type: string?)
(type type: (or u16? (assq (@ (dns enum) rr-types)))) (type type: (or u16? (assq (@ (dns enum) rr-types))))
(class default: 'IN type: (or u16? (assq (@ (dns enum) class-types)))))) (class default: 'IN type: (or u16? (assq (@ (dns enum) class-types))))))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment