]> git.ipfire.org Git - thirdparty/nftables.git/commit
src: use definitions in include/linux/netfilter/nf_tables.h
authorPablo Neira Ayuso <pablo@netfilter.org>
Sun, 12 May 2019 18:52:43 +0000 (20:52 +0200)
committerPablo Neira Ayuso <pablo@netfilter.org>
Sun, 12 May 2019 18:54:19 +0000 (20:54 +0200)
commit0f31d8258e7ead5bd3944080e6cec7d4074149e7
tree57247981c948e9073a9df656afeaeb4ed92b0179
parent47ffae232aeaadca37293861d52a11f907d6b768
src: use definitions in include/linux/netfilter/nf_tables.h

Use NFT_LOGLEVEL_* definitions in UAPI.

Make an internal definition of NFT_OSF_F_VERSION, this was originally
defined in the UAPI header in the initial patch version, however, this
is not available anymore.

Add a bison rule to deal with the timeout case.

Otherwise, compilation breaks.

Fixes: d3869cae9d62 ("include: refresh nf_tables.h cached copy")
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
include/osf.h
src/evaluate.c
src/parser_bison.y
src/statement.c