From fb03dbacd8808fca9e4b982c2c841faa5193178a 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`') --- 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 83727ea3c..7819c2e81 100644 --- a/src/libnm-core-impl/nm-setting-ip4-config.c +++ b/src/libnm-core-impl/nm-setting-ip4-config.c @@ -1152,7 +1152,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 54f0967c0..573211b23 100644 --- a/src/libnm-core-impl/nm-setting-ip6-config.c +++ b/src/libnm-core-impl/nm-setting-ip6-config.c @@ -1138,7 +1138,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 0decc027ba889eebc2e927f46022652c67b05eb1 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') --- 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 122ba0ea7..3fd31e4e1 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