summaryrefslogtreecommitdiff
path: root/src/network/networkd.h
diff options
context:
space:
mode:
authorDaniel Mack <github@zonque.org>2015-07-06 14:44:33 -0400
committerDaniel Mack <github@zonque.org>2015-07-06 14:44:33 -0400
commit6cefbec8670bd07167d2608f5598afc78f1303a9 (patch)
tree4139a1be4c0b6c4612db785225f52640026e427c /src/network/networkd.h
parentf767522a65a03b164f30d6b9f089000ce5bcb730 (diff)
parent1f0d9695125bf8e66d0e53e37d454755a84899bb (diff)
Merge pull request #496 from poettering/ipv6-privacy
networkd: various fixes for the IPv6 privacy extensions support
Diffstat (limited to 'src/network/networkd.h')
-rw-r--r--src/network/networkd.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/network/networkd.h b/src/network/networkd.h
index cd5c020533..f98c640822 100644
--- a/src/network/networkd.h
+++ b/src/network/networkd.h
@@ -91,9 +91,10 @@ typedef enum DCHPClientIdentifier {
} DCHPClientIdentifier;
typedef enum IPv6PrivacyExtensions {
- IPV6_PRIVACY_EXTENSIONS_DISABLE,
+ /* The values map to the kernel's /proc/sys/net/ipv6/conf/xxx/use_tempaddr values */
+ IPV6_PRIVACY_EXTENSIONS_NO,
IPV6_PRIVACY_EXTENSIONS_PREFER_PUBLIC,
- IPV6_PRIVACY_EXTENSIONS_PREFER_TEMPORARY,
+ IPV6_PRIVACY_EXTENSIONS_YES, /* aka prefer-temporary */
_IPV6_PRIVACY_EXTENSIONS_MAX,
_IPV6_PRIVACY_EXTENSIONS_INVALID = -1,
} IPv6PrivacyExtensions;