X-Git-Url: https://git.distorted.org.uk/~mdw/zone/blobdiff_plain/b496b60f441cf9b91de3a9eecafc3c253c8ca458..eebb70af6da9dff795108a04520523437c6a14f9:/net.lisp diff --git a/net.lisp b/net.lisp index 1e32684..1750da0 100644 --- a/net.lisp +++ b/net.lisp @@ -315,7 +315,7 @@ (print-unreadable-object (ipn stream :type t) (write-string (ipnet-string ipn) stream))) -(defun parse-subnet (class width max str &key (start 0) (end nil)) +(defun parse-subnet (class width max str &key (start 0) (end nil)) "Parse a subnet description from a (substring of) STR." (setf-default end (length str)) (let ((sl (position #\/ str :start start :end end)))