From 6ccb1871f53a26781753e1b5f0629725d65ab7be Mon Sep 17 00:00:00 2001 From: Dimitri Fontaine Date: Wed, 15 Jan 2014 10:48:56 +0100 Subject: [PATCH] Fix parsing dotted hostnames. --- src/parser.lisp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/parser.lisp b/src/parser.lisp index 1fe9097..ebe4ccf 100644 --- a/src/parser.lisp +++ b/src/parser.lisp @@ -260,7 +260,7 @@ (declare (ignore unix)) (list :unix (when socket-directory (text socket-directory))))) -(defrule network-name (and namestring (? (and "." network-name))) +(defrule network-name (and namestring (* (and "." namestring))) (:lambda (name) (list :host (text name))))