summaryrefslogtreecommitdiff
path: root/src/nmcli
diff options
context:
space:
mode:
authorFernando Fernandez Mancera <ffmancera@riseup.net>2023-02-20 12:05:04 +0100
committerFernando Fernandez Mancera <ffmancera@riseup.net>2023-02-21 15:36:38 +0100
commitd2ca44ffc60c5df5c1f4113ff767228c627ddb13 (patch)
tree58c378a626640b87af0d5045f8ccda480b8b3295 /src/nmcli
parent79611e4fcc0c06fd12f7a13ff6fdcb0abc36616e (diff)
downloadNetworkManager-ff/route_rule_0.tar.gz
all: add new "ipv[46].replace-local-rule" settingff/route_rule_0
This setting allows the user to remove the local route rule that is autogenerated for both IPv4 and IPv6. By default, NetworkManager won't touch the local route rule.
Diffstat (limited to 'src/nmcli')
-rw-r--r--src/nmcli/gen-metadata-nm-settings-nmcli.xml.in4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/nmcli/gen-metadata-nm-settings-nmcli.xml.in b/src/nmcli/gen-metadata-nm-settings-nmcli.xml.in
index 377603d97f..3fa715a0fb 100644
--- a/src/nmcli/gen-metadata-nm-settings-nmcli.xml.in
+++ b/src/nmcli/gen-metadata-nm-settings-nmcli.xml.in
@@ -712,6 +712,8 @@
description="Array of servers from which DHCP offers must be rejected. This property is useful to avoid getting a lease from misconfigured or rogue servers. For DHCPv4, each element must be an IPv4 address, optionally followed by a slash and a prefix length (e.g. &quot;192.168.122.0/24&quot;). This property is currently not implemented for DHCPv6." />
<property name="auto-route-ext-gw"
description="VPN connections will default to add the route automatically unless this setting is set to FALSE. For other connection types, adding such an automatic route is currently not supported and setting this to TRUE has no effect." />
+ <property name="replace-local-rule"
+ description="Connections will default to keep the autogenerated priority 0 local rule unless this setting is set to TRUE." />
</setting>
<setting name="ipv6" >
<property name="method"
@@ -771,6 +773,8 @@
description="VPN connections will default to add the route automatically unless this setting is set to FALSE. For other connection types, adding such an automatic route is currently not supported and setting this to TRUE has no effect." />
<property name="token"
description="Configure the token for draft-chown-6man-tokenised-ipv6-identifiers-02 IPv6 tokenized interface identifiers. Useful with eui64 addr-gen-mode." />
+ <property name="replace-local-rule"
+ description="Connections will default to keep the autogenerated priority 0 local rule unless this setting is set to TRUE." />
</setting>
<setting name="loopback" >
<property name="mtu"