From 8e78a8c28fbc9bb8ee35e0049d40a4e43b6d9670 Mon Sep 17 00:00:00 2001 From: Jan Vaclav Date: Thu, 13 Feb 2025 12:07:52 +0100 Subject: [PATCH] nmtui/ipv6: add "shared" method to ipv6 options It was previously only available for IPv4, and the option was missing from the IPv6 methods. https://gitlab.freedesktop.org/NetworkManager/NetworkManager/-/merge_requests/2138 (cherry picked from commit e983e8a46fbf23914631fe722682e3fc06d050fc) --- NEWS | 1 + src/nmtui/nmt-page-ip6.c | 1 + 2 files changed, 2 insertions(+) diff --git a/NEWS b/NEWS index da99a7778..d9501e084 100644 --- a/NEWS +++ b/NEWS @@ -37,6 +37,7 @@ USE AT YOUR OWN RISK. NOT RECOMMENDED FOR PRODUCTION USE! * Dnsconfd plugin can now be used for configuration of system-wide DNS caching resolver. If dnsconfd plugin is enabled and ipvX.routed-dns is set to -1 then adding routes is by default enabled. +* Add "shared" method to the IPv6 configuration options in nmtui. ============================================= NetworkManager-1.50 diff --git a/src/nmtui/nmt-page-ip6.c b/src/nmtui/nmt-page-ip6.c index 7e7a48c54..bd29a3a7c 100644 --- a/src/nmtui/nmt-page-ip6.c +++ b/src/nmtui/nmt-page-ip6.c @@ -29,6 +29,7 @@ static NmtNewtPopupEntry ip6methods[] = { {N_("Automatic (DHCP-only)"), NM_SETTING_IP6_CONFIG_METHOD_DHCP}, {N_("Link-Local"), NM_SETTING_IP6_CONFIG_METHOD_LINK_LOCAL}, {N_("Manual"), NM_SETTING_IP6_CONFIG_METHOD_MANUAL}, + {N_("Shared"), NM_SETTING_IP6_CONFIG_METHOD_SHARED}, {N_("Disabled"), NM_SETTING_IP6_CONFIG_METHOD_DISABLED}, {NULL, NULL}};