summaryrefslogtreecommitdiffstats
path: root/src/set.c
diff options
context:
space:
mode:
authorPablo Neira Ayuso <pablo@netfilter.org>2015-09-07 17:56:47 +0200
committerPablo Neira Ayuso <pablo@netfilter.org>2015-09-07 20:00:57 +0200
commit206d98a54305a1178c7d9c5e234699813f8c6f5a (patch)
treecf4a1335eb6724cfbdb3a8caa5346a78758d9506 /src/set.c
parent96807c4c05e1e76b8bbf00d874a28a279e7d2840 (diff)
src: rename nftnl_rule_expr to nftnl_expr
Use a shorter name for this, morever this can be used from sets so the _rule_ is misleading. Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'src/set.c')
-rw-r--r--src/set.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/set.c b/src/set.c
index 293341a..befa6d1 100644
--- a/src/set.c
+++ b/src/set.c
@@ -1203,13 +1203,13 @@ static struct nftnl_set *nftnl_set_lookup(const char *this_set_name,
return s;
}
-int nftnl_set_lookup_id(struct nftnl_rule_expr *e,
+int nftnl_set_lookup_id(struct nftnl_expr *e,
struct nftnl_set_list *set_list, uint32_t *set_id)
{
const char *set_name;
struct nftnl_set *s;
- set_name = nftnl_rule_expr_get_str(e, NFTNL_EXPR_LOOKUP_SET);
+ set_name = nftnl_expr_get_str(e, NFTNL_EXPR_LOOKUP_SET);
if (set_name == NULL)
return 0;