zone.lisp: Choose first matching record for preferred subnet.
authorMark Wooding <mdw@distorted.org.uk>
Sat, 8 Dec 2012 15:07:43 +0000 (15:07 +0000)
committerMark Wooding <mdw@distorted.org.uk>
Sat, 8 Dec 2012 15:07:43 +0000 (15:07 +0000)
commit64e34a970f8a28e8317b9e5faa1e608639aada7f
tree45e131443ecc77171e87f4c93c8e1652cf9a64f6
parent9b01dd96bd9056ac720b42a5f433d58e5b37169a
zone.lisp: Choose first matching record for preferred subnet.

The old (overly imperative) algorithm picked the last, which doesn't fit
with the fallback to the first record if none is preferred.
zone.lisp