network: fix IPv6PrivacyExtensions=kernel handling
authorFlorian Klink <flokli@flokli.de>
Wed, 23 Dec 2020 11:57:47 +0000 (12:57 +0100)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Tue, 2 Feb 2021 13:52:17 +0000 (14:52 +0100)
commit242fc1d2617d4225a946f77a929097379f03527c
treec7975ae51b093a98d346e8bac3d8c05dd861ddc9
parent2ba904a2e5c0ab6a49fc23071091187d3edba7e8
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

(cherry picked from commit d3ccb1b4ba71b7bdf263aab8b1b17d1274d27a47)
src/network/networkd-sysctl.c