]> git.ipfire.org Git - thirdparty/systemd.git/commit
firewall-util-nft: clear previous address on replay
authorFlorian Westphal <fw@strlen.de>
Thu, 17 Dec 2020 11:52:53 +0000 (12:52 +0100)
committerFlorian Westphal <fw@strlen.de>
Tue, 19 Jan 2021 15:38:56 +0000 (16:38 +0100)
commitf4fca22ad45e1bf6a5cd5cc8dd32bf9366960954
treeee83310abaf8f466e84e84fc4cb4b969cc3979ae
parent48ed276647c754bfb3ed5c6c5af9404e073ffe54
firewall-util-nft: clear previous address on replay

In case external entity wiped the ruleset, we need to clear the
'previous' address -- its already gone.

This prevents the transaction from succeeding: the delete operation fails.
src/shared/firewall-util-nft.c