From 73b23bea8666f9c6d01d595ebbdbf7e78680c0ea Mon Sep 17 00:00:00 2001 From: Tom Gundersen Date: Wed, 28 Jan 2015 17:32:50 +0100 Subject: [PATCH] networkd: tunnel - call tunnel modes ipip6, not ip4ipv6 to match ip(8) --- man/systemd.netdev.xml | 6 +++--- src/network/networkd-netdev-tunnel.c | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/man/systemd.netdev.xml b/man/systemd.netdev.xml index c4df0b7f9..f7acf3477 100644 --- a/man/systemd.netdev.xml +++ b/man/systemd.netdev.xml @@ -377,9 +377,9 @@ Mode= - IPv6 tunnels can have three modes: - ip6ip6, - ip4ipv6, + IPv6 tunnels can have three mode + ip6ip6 + ipip6, any diff --git a/src/network/networkd-netdev-tunnel.c b/src/network/networkd-netdev-tunnel.c index 89a9096bc..e95082d11 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", }; -- 2.30.2