network: fix IPv6PrivacyExtensions=kernel handling
authorFlorian Klink <flokli@flokli.de>
Wed, 23 Dec 2020 11:57:47 +0000 (12:57 +0100)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Wed, 23 Dec 2020 23:54:20 +0000 (08:54 +0900)
commitd3ccb1b4ba71b7bdf263aab8b1b17d1274d27a47
treeaa9c5f6c9119eb3aef97682744e09a8aeff65dfb
parent7eeaf72b88e43cb100763cec1db1b750928f2a1b
network: fix IPv6PrivacyExtensions=kernel handling

When set to "kernel", systemd is not supposed to touch that sysctl.

5e0534f1c13cd50ec2b143a8b18156cd37e502f7, part of
https://github.com/systemd/systemd/pull/17240 forgot to handle that
case.

Fixes https://github.com/systemd/systemd/issues/18003
src/network/networkd-sysctl.c