[Swan-dev] building: do not abuse USE_IPTABLES or USE_NFTABLES

2023-12-24 Thread Andrew Cagney
On Sun, 24 Dec 2023 at 16:55, Paul Wouters wrote: > > New commits: > commit 52c5cecda7543c4910a075a68e684469bacbbbd7 > Author: Paul Wouters > Date: Sun Dec 24 16:51:45 2023 -0500 > > building: do not abuse USE_IPTABLES or USE_NFTABLES > > These defines were misused to see if we were

[Swan-dev] CAT and NFTABLES?

2023-12-24 Thread Paul Wouters
Hi, Antony added the following code: +#if defined(HAVE_NFTABLES) + if (spd->local->child->has_cat) { + ip_selector client = selector_from_address(spd->local->host->addr); + + if (!raw_policy(KERNEL_POLICY_OP_ADD, +