From efde2796a03001cb937d65864d897543e5738cb1 Mon Sep 17 00:00:00 2001 From: Vasily Date: Fri, 26 Oct 2018 13:06:16 +0300 Subject: [PATCH] Adding possibility to specify empty passwords --- src/conf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/conf.c b/src/conf.c index b92cf65..c39ee50 100644 --- a/src/conf.c +++ b/src/conf.c @@ -52,7 +52,7 @@ #define BOOL "(yes|on|no|off)" #define INT "((0x)?[[:digit:]]+)" #define ALNUM "([-a-z0-9._]+)" -#define PASSWORD "([^:@]+)" +#define PASSWORD "([^:@]*)" #define IP "((([0-9]{1,3})\\.){3}[0-9]{1,3})" #define IPMASK "(" IP "(/[[:digit:]]+)?)" #define IPV6 "(" \