summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--man/systemd.netdev.xml6
-rw-r--r--src/network/networkd-netdev-tunnel.c2
2 files changed, 4 insertions, 4 deletions
diff --git a/man/systemd.netdev.xml b/man/systemd.netdev.xml
index c4df0b7f99..f7acf34770 100644
--- a/man/systemd.netdev.xml
+++ b/man/systemd.netdev.xml
@@ -377,9 +377,9 @@
<varlistentry>
<term><varname>Mode=</varname></term>
<listitem>
- <para>IPv6 tunnels can have three modes:
- <literal>ip6ip6</literal>,
- <literal>ip4ipv6</literal>,
+ <para>IPv6 tunnels can have three mode
+ <literal>ip6ip6</literal>
+ <literal>ipip6</literal>,
<literal>any</literal>
</para>
</listitem>
diff --git a/src/network/networkd-netdev-tunnel.c b/src/network/networkd-netdev-tunnel.c
index 89a9096bcd..e95082d119 100644
--- a/src/network/networkd-netdev-tunnel.c
+++ b/src/network/networkd-netdev-tunnel.c
@@ -38,7 +38,7 @@
static const char* const ip6tnl_mode_table[_NETDEV_IP6_TNL_MODE_MAX] = {
[NETDEV_IP6_TNL_MODE_IP6IP6] = "ip6ip6",
- [NETDEV_IP6_TNL_MODE_IPIP6] = "ip4ipv6",
+ [NETDEV_IP6_TNL_MODE_IPIP6] = "ipip6",
[NETDEV_IP6_TNL_MODE_ANYIP6] = "any",
};