chiark / gitweb /
zone.lisp: Sink `&allow-other-keys' until after the keyword arguments.
authorMark Wooding <mdw@distorted.org.uk>
Tue, 19 Sep 2017 17:13:41 +0000 (18:13 +0100)
committerMark Wooding <mdw@distorted.org.uk>
Tue, 19 Sep 2017 17:13:41 +0000 (18:13 +0100)
The spec is clear that it must be like this.

zone.lisp

index 6d6dce900e6ca64ae699be64285921bdce539b69..a1e74b70c11448eb7823019863c0cffa96648256 100644 (file)
--- a/zone.lisp
+++ b/zone.lisp
@@ -687,9 +687,9 @@ (export 'defrevzone)
 (defmacro defrevzone (head &body zf)
   "Define a reverse zone, with the correct name."
   (destructuring-bind (nets &rest args
-                           &key &allow-other-keys
-                                (family '*address-family*)
-                                prefix-bits)
+                           &key (family '*address-family*)
+                                prefix-bits
+                                &allow-other-keys)
       (listify head)
     (with-gensyms (ipn)
       `(dolist (,ipn (net-parse-to-ipnets ',nets ,family))