]> git.ipfire.org Git - thirdparty/systemd.git/commit
networkd: address - rework firewall rules lifetime
authorTom Gundersen <teg@jklm.no>
Wed, 30 Sep 2015 12:07:12 +0000 (14:07 +0200)
committerTom Gundersen <teg@jklm.no>
Wed, 21 Oct 2015 00:35:31 +0000 (02:35 +0200)
commitfcf50cff129c1b0c6c415428e659da40c3053e6e
tree94974d85945f188d8655a55c9c13a9446e557f68
parent6666907869fb3bc7fe6a6025540db5b887c7a78b
networkd: address - rework firewall rules lifetime

Establish the firewall rule before creating the address, and do not create the address
if the firewall rule could not be created. Also, only drop the firewall rule once
the address has been removed from the kernel.
src/network/networkd-address.c