]> git.ipfire.org Git - thirdparty/nftables.git/commit
evaluate: add two new helpers
authorFlorian Westphal <fw@strlen.de>
Mon, 24 Feb 2020 00:03:22 +0000 (01:03 +0100)
committerPablo Neira Ayuso <pablo@netfilter.org>
Mon, 24 Feb 2020 09:58:04 +0000 (10:58 +0100)
commit222441d31dc4d75e9168948b3547a0babe8d865d
tree969415e9e145d2e48911b1b1c584a826878cf308
parent6f0d90ec72b78f49729fc88a6a177c89a57d779e
evaluate: add two new helpers

In order to support 'dnat to ip saddr map @foo', where @foo returns
both an address and a inet_service, we will need to peek into the map
and process the concatenations sub-expressions.

Add two helpers for this, will be used in followup patches.

Signed-off-by: Florian Westphal <fw@strlen.de>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
src/evaluate.c