diff options
author | Thomas Haller <thaller@redhat.com> | 2020-07-22 14:51:58 +0200 |
---|---|---|
committer | Thomas Haller <thaller@redhat.com> | 2020-07-24 16:03:15 +0200 |
commit | be655e6ed1530bc0a606ddfa1b5d91a495392d47 (patch) | |
tree | 519acd2d1ba7670029bdcd40e5d090c657b4fd24 /linker-script-binary.ver | |
parent | b15c85cf8b0135b76b60bbae4863cac6a2efcb22 (diff) | |
download | NetworkManager-be655e6ed1530bc0a606ddfa1b5d91a495392d47.tar.gz |
core: read "disable_ipv6" sysctl before nm_ip6_config_create_setting()
First of all, the entire nm_device_generate_connection() and
nm_ip._config_create_setting() approach is fundamentally flawed. You
cannot generate sensible configuration by reading IP addresses from
an interface. Anyway, that's what we still sometimes do, and we possibly
should do it less and less.
It's ugly that nm_ip6_config_capture() would read the "disable_ipv6"
sysctl value and cache it in NMIP6Config. Only so that it can be use
much later during nm_ip6_config_create_setting().
Instead, read the sysctl value shortly before it's needed.
Diffstat (limited to 'linker-script-binary.ver')
0 files changed, 0 insertions, 0 deletions