summaryrefslogtreecommitdiffstats
path: root/tests/nft-expr_objref-test.c
Commit message (Collapse)AuthorAgeFilesLines
* tests: Fix objref test casePhil Sutter2024-03-061-1/+1
| | | | | | | | Probably a c'n'p bug, the test would allocate a lookup expression instead of the objref one to be tested. Fixes: b4edb4fc558ac ("expr: add stateful object reference expression") Signed-off-by: Phil Sutter <phil@nwl.cc>
* tests: change char * pointer to constant (const char *)Harsha Sharma2017-12-301-1/+1
| | | | | | | | As the parameter for function is pointer to constant, change it to constant. This fix gcc compilation warning in libnftnl with make check. Signed-off-by: Harsha Sharma <harshasharmaiitr@gmail.com> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
* expr: add stateful object reference expressionPablo Neira Ayuso2016-12-091-0/+96
This patch adds a new "objref" expression that you can use to refer to stateful objects from rules. Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>