NetworkManager/man
Thomas Haller 5d112092bc cloud-setup/azure: fix detecting the gateway address
The code never set "iface_get_config->cidr_addr", despite
setting "cidr_prefix" and "has_cidr". As a result, cloud-setup
would think that the subnet is "0.0.0.0/$PLEN", and calculate
the gateway as "0.0.0.1".

As a result it would add a default route to table 30400 via 0.0.0.1,
which is obviously wrong.

How to detect the right gateway? Let's try obtain the subnet also via
the meta data. That seems mostly correct, except that we only access
subnet at index 0. What if there are multiple ones? I don't know.

https://bugzilla.redhat.com/show_bug.cgi?id=1912236
(cherry picked from commit c2629f72b0)
2021-10-14 13:02:00 -03:00
..
common.ent.in man: fix "no-auto-default" state dir in NetworkManager.conf manual 2018-10-25 15:24:38 +02:00
meson.build all: update deprecated SPDX license identifiers 2021-01-05 09:46:21 +01:00
NetworkManager.conf.xml device: use the 'required-timeout' property from IP setting 2021-09-06 10:56:12 +02:00
NetworkManager.xml core: force emission of DNS_CONFIG_CHANGED signal on SIGUSR1 2021-06-10 18:08:24 +02:00
nm-cloud-setup.xml cloud-setup/azure: fix detecting the gateway address 2021-10-14 13:02:00 -03:00
nm-initrd-generator.xml initrd: add support for rd.net.timeout.carrier 2021-01-20 16:10:56 +01:00
nm-online.xml nm-online: allow configuring timeout via NM_ONLINE_TIMEOUT environment 2020-04-30 21:46:59 +02:00
nm-openvswitch.xml man: update nm-openswitch example 2019-07-09 12:05:32 +02:00
nm-settings-dbus.xsl docs: update documentation for nm-settings-nmcli manual 2020-06-11 10:53:49 +02:00
nm-settings-ifcfg-rh.xsl docs: unify "nm-property-infos-*.xml" and "nm-settings-docs-*.xml" (root element) 2020-06-11 10:53:50 +02:00
nm-settings-keyfile.xsl docs: unify "nm-property-infos-*.xml" and "nm-settings-docs-*.xml" (root element) 2020-06-11 10:53:50 +02:00
nm-settings-nmcli.xsl docs: show aliases for settings in man nm-settings-nmcli 2020-06-12 14:01:26 +02:00
nmcli-examples.xml all: fix typo in man pages 2020-07-03 10:48:04 +02:00
nmcli.xml man: document the 'nmcli general reload' command 2021-06-10 18:08:26 +02:00
nmtui.1.in man: update version number and dates in manual pages 2016-03-09 10:11:27 +01:00
nmtui.xml man: turn the manual page cross-references into links 2016-06-21 18:40:13 +02:00