From cc6fef3521c2fdfba4b1daf7be09349e7d807ae1 Mon Sep 17 00:00:00 2001 From: Florian Westphal Date: Fri, 8 Feb 2019 17:02:20 +0100 Subject: src: payload: export and use payload_expr_cmp expr->ops is going away, so export payload cmp and use it directly. Signed-off-by: Florian Westphal Acked-by: Pablo Neira Ayuso --- include/payload.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include') diff --git a/include/payload.h b/include/payload.h index 161c64ae..a914d239 100644 --- a/include/payload.h +++ b/include/payload.h @@ -59,4 +59,6 @@ extern void payload_expr_expand(struct list_head *list, struct expr *expr, extern void payload_expr_complete(struct expr *expr, const struct proto_ctx *ctx); +bool payload_expr_cmp(const struct expr *e1, const struct expr *e2); + #endif /* NFTABLES_PAYLOAD_H */ -- cgit v1.2.3