diff options
author | Florian Westphal <fw@strlen.de> | 2020-12-17 05:32:42 +0100 |
---|---|---|
committer | Florian Westphal <fw@strlen.de> | 2021-01-19 16:38:53 +0100 |
commit | 48ed276647c754bfb3ed5c6c5af9404e073ffe54 (patch) | |
tree | 71f02425997345cfb84d8589233b82ba735f28a0 /src/network/networkd-util.h | |
parent | nspawn: expose container ipv6 address too (diff) | |
download | systemd-48ed276647c754bfb3ed5c6c5af9404e073ffe54.tar.xz systemd-48ed276647c754bfb3ed5c6c5af9404e073ffe54.zip |
networkd: extend IPMasquerade to cover ipv6
Extend IPMasquerade to also cover ipv6.
For compatibility reasons with earlier releases IPMasquerade=yes
is identical to IPMasquerade=ipv4.
Use IPMasquerade=both to cover ipv6 as well as ipv4.
IPForward will now also enable ipv6 forwarding if IPMasquerade for ipv6 is enabled.
Diffstat (limited to 'src/network/networkd-util.h')
-rw-r--r-- | src/network/networkd-util.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/network/networkd-util.h b/src/network/networkd-util.h index 7b48046c35..76b4d0cfba 100644 --- a/src/network/networkd-util.h +++ b/src/network/networkd-util.h @@ -28,6 +28,7 @@ typedef struct NetworkConfigSection { CONFIG_PARSER_PROTOTYPE(config_parse_link_local_address_family); CONFIG_PARSER_PROTOTYPE(config_parse_address_family_with_kernel); +CONFIG_PARSER_PROTOTYPE(config_parse_address_family_compat); const char *address_family_to_string(AddressFamily b) _const_; AddressFamily address_family_from_string(const char *s) _pure_; |