networkd: Add support for ipv6 privacy extension
authorSusant Sahani <susant@redhat.com>
Sun, 5 Jul 2015 05:54:31 +0000 (11:24 +0530)
committerSusant Sahani <susant@redhat.com>
Sun, 5 Jul 2015 05:54:31 +0000 (11:24 +0530)
commit49092e22c2893118304bac1b3b706cd88f90590d
treec623efdb72fa1bcd1867a24ecf39a02a255bda70
parent138879ccad87148cc5d805471183789a6ad688c6
networkd: Add support for ipv6 privacy extension

This patch add support for ipv6 privacy extensions.

The variable  /proc/sys/net/ipv6/conf/<if>/use_tempaddr

can be changed via the boolean

IPv6PrivacyExtensions=[yes/no/prefer-temporary]

When true enables privacy extensions, but prefer public addresses over
temporary addresses.
prefer-temporary  prefers temporary adresses over public addresses.
Defaults to false.

[Match]
Name=enp0s25

[Network]
IPv6PrivacyExtensions=prefer-temporary
src/network/networkd-link.c
src/network/networkd-network-gperf.gperf
src/network/networkd-network.c
src/network/networkd.h