From 979591a0675ebcf3a77c3411ed83ea980f2666de Mon Sep 17 00:00:00 2001 From: Etienne Champetier Date: Tue, 28 Feb 2023 00:43:35 -0500 Subject: [PATCH 1/2] doc: fix route type name (unavailable -> unreachable) Fixes: 1cc3d00cb76b ('libnm/doc: list route attributes in `man nm-settings-nmcli`') (cherry picked from commit fb03dbacd8808fca9e4b982c2c841faa5193178a) (cherry picked from commit e308bd79e81c99fa648072bb167a2356032a08f3) --- src/libnm-core-impl/nm-setting-ip4-config.c | 2 +- src/libnm-core-impl/nm-setting-ip6-config.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/libnm-core-impl/nm-setting-ip4-config.c b/src/libnm-core-impl/nm-setting-ip4-config.c index d991152c24..7c984290bb 100644 --- a/src/libnm-core-impl/nm-setting-ip4-config.c +++ b/src/libnm-core-impl/nm-setting-ip4-config.c @@ -1113,7 +1113,7 @@ nm_setting_ip4_config_class_init(NMSettingIP4ConfigClass *klass) * * * "type" - one of unicast, local, blackhole, - * unavailable, prohibit, throw. + * unreachable, prohibit, throw. * The default is unicast. * * diff --git a/src/libnm-core-impl/nm-setting-ip6-config.c b/src/libnm-core-impl/nm-setting-ip6-config.c index 94794d1e14..3066b9bd49 100644 --- a/src/libnm-core-impl/nm-setting-ip6-config.c +++ b/src/libnm-core-impl/nm-setting-ip6-config.c @@ -1107,7 +1107,7 @@ nm_setting_ip6_config_class_init(NMSettingIP6ConfigClass *klass) * * * "type" - one of unicast, local, blackhole, - * unavailable, prohibit, throw. + * unreachable, prohibit, throw. * The default is unicast. * * From e37d6f1d756223c6a321d51c375e82585f9a84e3 Mon Sep 17 00:00:00 2001 From: Etienne Champetier Date: Tue, 28 Feb 2023 00:43:35 -0500 Subject: [PATCH 2/2] platform/trivial: fix route type name (unavailable -> unreachable) Fixes: 766349879ed2 ('platform/trivial: add code comments for NMPGlobalTracker') (cherry picked from commit 0decc027ba889eebc2e927f46022652c67b05eb1) (cherry picked from commit 667ba5227264e795533414ebefe476a0780b9ab7) --- src/libnm-platform/nmp-global-tracker.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libnm-platform/nmp-global-tracker.c b/src/libnm-platform/nmp-global-tracker.c index 12869cb250..7bc7428c56 100644 --- a/src/libnm-platform/nmp-global-tracker.c +++ b/src/libnm-platform/nmp-global-tracker.c @@ -26,7 +26,7 @@ * view. That is mainly, because such objects are themselves tied to an ifindex. * * However, for certain objects that's not the case. For example, policy routing - * rules, certain route types (blackhole, unavailable, prohibit, throw) and MPTCP + * rules, certain route types (blackhole, unreachable, prohibit, throw) and MPTCP * endpoints require a holistic view of the system. That is, because rules and * these route types have no ifindex. For MPTCP endpoints, they have an ifindex, * however we can only configure a small number of them at a time, so we need a