Message ID | 1477830267-12393-1-git-send-email-zlpnobody@163.com |
---|---|
State | Accepted |
Delegated to: | Pablo Neira |
Headers | show |
On Sun, Oct 30, 2016 at 08:24:27PM +0800, Liping Zhang wrote: > From: Liping Zhang <zlpnobody@gmail.com> > > This is to keep compatibility. The original keyword in grammer is > "warn" instead of "warning". Applied, thanks! -- To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
diff --git a/src/parser_bison.y b/src/parser_bison.y index 85234ca..4ed7494 100644 --- a/src/parser_bison.y +++ b/src/parser_bison.y @@ -1540,7 +1540,7 @@ level_type : string $$ = LOG_CRIT; else if (!strcmp("err", $1)) $$ = LOG_ERR; - else if (!strcmp("warning", $1)) + else if (!strcmp("warn", $1)) $$ = LOG_WARNING; else if (!strcmp("notice", $1)) $$ = LOG_NOTICE;