From 08b7151ce4c339aa2e61e776be9865e8e69c1528 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Hugo=20H=C3=B6rnquist?= <hugo@lysator.liu.se>
Date: Wed, 1 Jun 2022 20:37:29 +0200
Subject: [PATCH] Releaze type: zero? for z.

RFC 2535 uses the Z field, meaning that queries can have some of the
bits set.
---
 dns/types/header.scm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dns/types/header.scm b/dns/types/header.scm
index 8f4c3cc..8e2b89b 100644
--- a/dns/types/header.scm
+++ b/dns/types/header.scm
@@ -27,7 +27,7 @@
           (opcode default: 'QUERY
                   type: (or (uint? 4) (assq (@ (dns enum) opcode-types))))
           (aa type: boolean?) (tc type: boolean?) (rd type: boolean?) (ra type: boolean?)
-          (z default: 0 type: zero?)
+          (z default: 0)
           (rcode default: 'NOERROR type: (or (uint? 4) (assq (@ (dns enum) rcode-types))))
           ;; lengths
           (qdcount default: 0 type: u16?) (ancount default: 0 type: u16?)
-- 
GitLab