From 6b50d52ed0f2b71deaaa45e9661ae55701ebcfab Mon Sep 17 00:00:00 2001 From: Wen Liang Date: Wed, 17 Feb 2021 20:31:47 -0500 Subject: [PATCH] docs: improve manual page about ipv4.routes Signed-off-by: Wen Liang https://gitlab.freedesktop.org/NetworkManager/NetworkManager/-/merge_requests/757 --- clients/cli/generate-docs-nm-settings-nmcli.xml.in | 2 +- clients/common/settings-docs.h.in | 2 +- src/libnm-core-impl/nm-setting-ip4-config.c | 9 +++++++++ 3 files changed, 11 insertions(+), 2 deletions(-) diff --git a/clients/cli/generate-docs-nm-settings-nmcli.xml.in b/clients/cli/generate-docs-nm-settings-nmcli.xml.in index 5bae8ff9ef..09eaad9f71 100644 --- a/clients/cli/generate-docs-nm-settings-nmcli.xml.in +++ b/clients/cli/generate-docs-nm-settings-nmcli.xml.in @@ -647,7 +647,7 @@ alias="gw4" description="The gateway associated with this configuration. This is only meaningful if "addresses" is also set. The gateway's main purpose is to control the next hop of the standard default route on the device. Hence, the gateway property conflicts with "never-default" and will be automatically dropped if the IP configuration is set to never-default. As an alternative to set the gateway, configure a static default route with /0 as prefix length." /> + description="A list of IPv4 destination addresses, prefix length, optional IPv4 next hop addresses, optional route metric, optional attribute. The valid syntax is: "ip[/prefix] [next-hop] [metric] [attribute=val]...[,ip[/prefix]...]". For example "192.0.2.0/24 10.1.1.1 77, 198.51.100.0/24"." />