From: Lennart Poettering Date: Thu, 10 Aug 2023 14:17:32 +0000 (+0200) Subject: networkd: add comment about order of IPReversePathFilter enum X-Git-Tag: v255-rc1~765 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=8c8c8fce4d2cff043767c869f4d5c8c7149f889c;p=thirdparty%2Fsystemd.git networkd: add comment about order of IPReversePathFilter enum Follow-up for: #28391 --- diff --git a/src/network/networkd-sysctl.h b/src/network/networkd-sysctl.h index ba6915719a1..064438462c0 100644 --- a/src/network/networkd-sysctl.h +++ b/src/network/networkd-sysctl.h @@ -8,7 +8,7 @@ typedef struct Link Link; typedef enum IPv6PrivacyExtensions { - /* The values map to the kernel's /proc/sys/net/ipv6/conf/xxx/use_tempaddr values */ + /* These values map to the kernel's /proc/sys/net/ipv6/conf/xxx/use_tempaddr values. Do not reorder! */ IPV6_PRIVACY_EXTENSIONS_NO, IPV6_PRIVACY_EXTENSIONS_PREFER_PUBLIC, IPV6_PRIVACY_EXTENSIONS_YES, /* aka prefer-temporary */ @@ -18,6 +18,7 @@ typedef enum IPv6PrivacyExtensions { } IPv6PrivacyExtensions; typedef enum IPReversePathFilter { + /* These values map to the kernel's /proc/sys/net/ipv6/conf/xxx/rp_filter values. Do not reorder! */ IP_REVERSE_PATH_FILTER_NO, IP_REVERSE_PATH_FILTER_STRICT, IP_REVERSE_PATH_FILTER_LOOSE,