]> git.ipfire.org Git - thirdparty/nftables.git/commit
expression: use common code for expr_ops/expr_ops_by_type
authorFlorian Westphal <fw@strlen.de>
Sat, 22 Feb 2020 21:12:02 +0000 (22:12 +0100)
committerFlorian Westphal <fw@strlen.de>
Sun, 23 Feb 2020 22:31:12 +0000 (23:31 +0100)
commit32bc5d4e1009192ed4d2a7d102f3c2abb3f2707c
treeef1072b3ef2d234829834a1bf2c5e6f97936ee56
parent58386df4ae6d6481ff16700df232551da00205aa
expression: use common code for expr_ops/expr_ops_by_type

Useless duplication.  Also, this avoids bloating expr_ops_by_type()
when it needs to cope with more expressions.

Signed-off-by: Florian Westphal <fw@strlen.de>
include/expression.h
src/expression.c