summaryrefslogtreecommitdiffstats
path: root/iptables/xtables-restore.c
diff options
context:
space:
mode:
authorPhil Sutter <phil@nwl.cc>2020-10-03 17:46:09 +0200
committerPhil Sutter <phil@nwl.cc>2020-10-07 12:41:34 +0200
commit0d77e64e8d9b8a3984b01a4951524dc40f61f4b6 (patch)
treea9d60794475bca3e301a0c7b18afbb2dfbeab151 /iptables/xtables-restore.c
parentb5f1a3beac1d1f2b96c8be8ebec450f5ea758090 (diff)
nft: Make batch_add_chain() return the added batch object
Do this so in a later patch the 'skip' field can be adjusted. While being at it, simplify a few callers and eliminate the need for a 'ret' variable. Signed-off-by: Phil Sutter <phil@nwl.cc> Reviewed-by: Florian Westphal <fw@strlen.de>
Diffstat (limited to 'iptables/xtables-restore.c')
0 files changed, 0 insertions, 0 deletions