From f611cd45d0d556ffdf559bff455db7c0e1e467ae Mon Sep 17 00:00:00 2001 From: Olivier Matz Date: Sun, 8 May 2011 18:00:01 +0200 Subject: [PATCH] genconf: "comment" nodes don't have name, add the flag Signed-off-by: Olivier Matz --- src/genconf/confnode_comment.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/genconf/confnode_comment.c b/src/genconf/confnode_comment.c index 36607cc..95eaccd 100644 --- a/src/genconf/confnode_comment.c +++ b/src/genconf/confnode_comment.c @@ -76,7 +76,8 @@ static int confnode_comment_new(struct confnode *n, const struct line *line) snprintf(n->prompt, sizeof(n->prompt), "%s", tok->str); n->ops = &confnode_comment.ops; n->flags = CONFNODE_F_NO_SET_DEFAULT | - CONFNODE_F_NO_SET_PROMPT; + CONFNODE_F_NO_SET_PROMPT | + CONFNODE_F_NO_NAME; return 0; } -- 2.20.1