From 7c259fa15698145418026027b5712baa12b3cd5c Mon Sep 17 00:00:00 2001 From: Martin Mares Date: Wed, 26 Apr 2006 00:06:50 +0200 Subject: [PATCH] CF_LOOKUP lists must end with NULL. --- lib/ipaccess.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ipaccess.c b/lib/ipaccess.c index f9cda623..910715e7 100644 --- a/lib/ipaccess.c +++ b/lib/ipaccess.c @@ -61,7 +61,7 @@ static struct cf_user_type addrmask_type = { struct cf_section ipaccess_cf = { CF_TYPE(struct ipaccess_entry), CF_ITEMS { - CF_LOOKUP("Mode", PTR_TO(struct ipaccess_entry, allow), ((char*[]) { "deny", "allow" })), + CF_LOOKUP("Mode", PTR_TO(struct ipaccess_entry, allow), ((char*[]) { "deny", "allow", NULL })), CF_USER("IP", PTR_TO(struct ipaccess_entry, addr), &addrmask_type), CF_END } -- 2.39.2