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 e983e8a46f)
This commit is contained in:
Jan Vaclav
2025-02-13 12:07:52 +01:00
parent 2daeef668d
commit 8e78a8c28f
2 changed files with 2 additions and 0 deletions

1
NEWS
View File

@@ -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 * Dnsconfd plugin can now be used for configuration of system-wide DNS
caching resolver. If dnsconfd plugin is enabled and ipvX.routed-dns is caching resolver. If dnsconfd plugin is enabled and ipvX.routed-dns is
set to -1 then adding routes is by default enabled. set to -1 then adding routes is by default enabled.
* Add "shared" method to the IPv6 configuration options in nmtui.
============================================= =============================================
NetworkManager-1.50 NetworkManager-1.50

View File

@@ -29,6 +29,7 @@ static NmtNewtPopupEntry ip6methods[] = {
{N_("Automatic (DHCP-only)"), NM_SETTING_IP6_CONFIG_METHOD_DHCP}, {N_("Automatic (DHCP-only)"), NM_SETTING_IP6_CONFIG_METHOD_DHCP},
{N_("Link-Local"), NM_SETTING_IP6_CONFIG_METHOD_LINK_LOCAL}, {N_("Link-Local"), NM_SETTING_IP6_CONFIG_METHOD_LINK_LOCAL},
{N_("Manual"), NM_SETTING_IP6_CONFIG_METHOD_MANUAL}, {N_("Manual"), NM_SETTING_IP6_CONFIG_METHOD_MANUAL},
{N_("Shared"), NM_SETTING_IP6_CONFIG_METHOD_SHARED},
{N_("Disabled"), NM_SETTING_IP6_CONFIG_METHOD_DISABLED}, {N_("Disabled"), NM_SETTING_IP6_CONFIG_METHOD_DISABLED},
{NULL, NULL}}; {NULL, NULL}};