net.lisp: net.lisp: Refactor `string-subipnet' and its friends.
authorMark Wooding <mdw@distorted.org.uk>
Sat, 13 Jul 2013 15:34:40 +0000 (16:34 +0100)
committerMark Wooding <mdw@distorted.org.uk>
Sat, 19 Apr 2014 12:34:26 +0000 (13:34 +0100)
commit6343e7bf99d80d5c01ee598922058406fb0ebb62
tree51b3ba37197e3ffc8427ff3bb7c5909abac979e8
parent78d11eb172a3cf0ae51133eb13c9a7635d30ad84
net.lisp: net.lisp: Refactor `string-subipnet' and its friends.

  * Kill `ipnet-subnet', which wasn't used anywhere else anyway.
    Replace with `check-subipnet', with a different interface.

  * Add `:slashp' argument to `parse-subnet', controlling whether it
    bothers to detect a `/'.

  * Introduce `parse-subipnet' as a higher-level interface to
    `parse-subnet'.
net.lisp